Skip to content

Commit

Permalink
Merge pull request #88 from NhatTanVu/Containerize-My-Album
Browse files Browse the repository at this point in the history
Specifiy docker Debian base images
  • Loading branch information
NhatTanVu authored Jan 24, 2021
2 parents f2525a8 + 9233a70 commit 900f994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MyAlbum.Docker/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as publish
FROM mcr.microsoft.com/dotnet/sdk:3.1-buster as publish
WORKDIR /src
# update
RUN apt-get update
Expand Down Expand Up @@ -37,7 +37,7 @@ RUN rm -rf "/app/tr"
RUN rm -rf "/app/zh-Hans"
RUN rm -rf "/app/zh-Hant"

FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 as final
FROM mcr.microsoft.com/dotnet/aspnet:3.1-buster-slim as final
WORKDIR /app
RUN apt-get update && apt-get install -y libgdiplus
RUN apt-get update && apt-get install -y libgomp1
Expand Down

0 comments on commit 900f994

Please sign in to comment.