Compare commits

...

1 Commits

Author SHA1 Message Date
Karolis2011
ed86405263 DEbug docker file 2019-09-05 21:39:01 +03:00

View File

@@ -7,10 +7,10 @@ COPY ["EventBot/EventBot.csproj", "EventBot/"]
RUN dotnet restore "EventBot/EventBot.csproj"
COPY . .
WORKDIR "/src/EventBot"
RUN dotnet build "EventBot.csproj" -c Release -o /app
RUN dotnet build "EventBot.csproj" -c Debug -o /app
FROM build AS publish
RUN dotnet publish "EventBot.csproj" -c Release -o /app
RUN dotnet publish "EventBot.csproj" -c Debug -o /app
FROM base AS final
WORKDIR /app