Skip to content

Commit

Permalink
allow changing workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
iliazeus committed Apr 16, 2024
1 parent 4c87435 commit 208325d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN CGO_ENABLED=1 CGO_LDFLAGS='-lsharpyuv' go build \
-o app ./

FROM scratch
WORKDIR /app
COPY --from=build /etc/ssl/certs/ca-certificates.crt etc/ssl/certs/ca-certificates.crt
COPY --from=build /app/app achievement-bot
CMD ["./achievement-bot"]
CMD ["/app/achievement-bot"]

0 comments on commit 208325d

Please sign in to comment.