This commit is contained in:
Nicolas Constant 2020-12-28 01:34:24 -05:00
parent f585197e90
commit 56d3de862e
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688

View file

@ -6,12 +6,8 @@ EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
# WORKDIR /src
# COPY ["/src/BirdsiteLive/BirdsiteLive.csproj", "BirdsiteLive/"]
COPY . .
RUN dotnet restore "/src/BirdsiteLive/BirdsiteLive.csproj"
# COPY . .
# WORKDIR /BirdsiteLive
RUN dotnet build "/src/BirdsiteLive/BirdsiteLive.csproj" -c Release -o /app/build
FROM build AS publish