fix(docker): replace hardcoded CMD flags with ENV variables (#581)

This commit is contained in:
Gabe Cook
2025-12-17 03:06:11 -06:00
committed by GitHub
parent 80b3a971cf
commit 9fa313157f

View File

@@ -56,5 +56,9 @@ EXPOSE 8000
# Use the Go-based entrypoint wrapper
ENTRYPOINT ["/boot"]
# Default environment variables
ENV DB_DSN=data/tronbyt.db
ENV DATA_DIR=data
# Default command to execute the main server binary
CMD ["/app/tronbyt-server", "-db", "data/tronbyt.db", "-data", "data"]
CMD ["/app/tronbyt-server"]