Skip to content

Commit 92fbacc

Browse files
committed
explain dockerfile
1 parent 3cb1f12 commit 92fbacc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@ ARG PORT=8080
2222
ENV PORT=${PORT}
2323
EXPOSE ${PORT}
2424

25+
# --access-logfile - prints access log to stdout
26+
# --error-log - prints errors to stdout
27+
# --capture-output logging and print go to error log (stdout)
2528
CMD ["sh", "-c", "gunicorn app:application --bind=0.0.0.0:${PORT} --access-logfile - --error-log - --capture-output --timeout=600"]

0 commit comments

Comments
 (0)