Compare commits
1 Commits
060d9e3785
...
debug_bran
Author | SHA1 | Date | |
---|---|---|---|
|
ed86405263 |
@@ -7,10 +7,10 @@ COPY ["EventBot/EventBot.csproj", "EventBot/"]
|
|||||||
RUN dotnet restore "EventBot/EventBot.csproj"
|
RUN dotnet restore "EventBot/EventBot.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/EventBot"
|
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
|
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
|
FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Reference in New Issue
Block a user