Skip to content

Commit

Permalink
🔧 Update docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
furkandeveloper committed Oct 2, 2021
1 parent f710bef commit d75752f
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,11 +1,11 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
WORKDIR /src
COPY ["samples/EasyProfiler.Web/EasyProfiler.Web.csproj", "samples/EasyProfiler.Web/"]
RUN dotnet restore "samples/EasyProfiler.Web/EasyProfiler.Web.csproj"
Expand Down

0 comments on commit d75752f

Please sign in to comment.