Skip to content

Commit

Permalink
allow passing flags through an env variable in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasvdam committed Mar 21, 2024
1 parent dcfbd00 commit 23108dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion goreleaser.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ COPY goaws /
COPY app/conf/goaws.yaml /app/conf/goaws.yaml
EXPOSE 4100

ENTRYPOINT ["./goaws"]
ENV FLAGS=""
ENTRYPOINT ./goaws $FLAGS

0 comments on commit 23108dd

Please sign in to comment.