We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c00062 commit e7a13a9Copy full SHA for e7a13a9
Dockerfile
@@ -1,5 +1,6 @@
1
FROM python:3.12-slim
2
3
+ENV ENVIRONMENT=docker
4
ENV PORT=8000
5
6
RUN groupadd --gid 10001 app \
@@ -44,4 +45,4 @@ HEALTHCHECK CMD curl -sfk http://localhost:$PORT -o/dev/null
44
45
46
# run service
47
ENTRYPOINT ["/usr/bin/tini", "--", "/entrypoint.sh"]
-CMD ["--config", "config-docker.toml"]
48
+CMD ["--config", "config-${ENVIRONMENT}.toml"]
0 commit comments