Fix docker build

This commit is contained in:
Enes Sadık Özbek 2019-05-02 01:39:03 +03:00
parent 6fc42f1572
commit a18758cf41

View file

@ -3,9 +3,9 @@ WORKDIR /app
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build
WORKDIR /src
COPY ["src/SteamOpenIdConnectProxy/SteamOpenIdConnectProxy.csproj", "SteamOpenIdConnectProxy/"]
COPY ["src/SteamOpenIdConnectProxy.csproj", "SteamOpenIdConnectProxy/"]
RUN dotnet restore "SteamOpenIdConnectProxy/SteamOpenIdConnectProxy.csproj"
COPY src/ .
COPY ["src/", "SteamOpenIdConnectProxy/"]
WORKDIR "/src/SteamOpenIdConnectProxy"
RUN dotnet build "SteamOpenIdConnectProxy.csproj" -c Release -o /app