Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Bond-009 committed Nov 17, 2024
1 parent 91ed767 commit d419ad6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
RUN dotnet publish src/iTool.DiscordBot --configuration Release --output="/app"

FROM mcr.microsoft.com/dotnet/runtime:9.0
COPY --from=builder /app /app
WORKDIR /app
VOLUME /app/settings /app/data
ENTRYPOINT ["./iTool.DiscordBot"]
COPY --from=builder /app .
ENTRYPOINT ["dotnet", "iTool.DiscordBot.dll"]

0 comments on commit d419ad6

Please sign in to comment.