Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofPajak authored Mar 2, 2018
1 parent 733ac76 commit e63f458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/aspnetcore-build:2.0 AS build-env
FROM microsoft/aspnetcore-build:latest AS build-env

WORKDIR /app
COPY GrandNode.sln .
Expand Down Expand Up @@ -31,7 +31,7 @@ COPY . ./
RUN dotnet publish Grand.Web -c Release -o out

# Build runtime image
FROM microsoft/aspnetcore:2.0
FROM microsoft/aspnetcore:latest
RUN apt-get update && \
apt-get -y install libgdiplus
RUN ln -s /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libdl.so
Expand Down

0 comments on commit e63f458

Please sign in to comment.