Skip to content

Commit ed850dc

Browse files
committed
fix: entry point and default command
1 parent 7d24cf3 commit ed850dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@ EXPOSE 8080
5858
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
5959
CMD curl -f http://localhost:8080/health || exit 1
6060

61-
# Default command
62-
CMD ["python", "-m", "src.gateway", "--host", "0.0.0.0", "--port", "8080"]
61+
# Set entrypoint and default command
62+
ENTRYPOINT ["python", "-m", "src.gateway"]
63+
CMD ["--host", "0.0.0.0", "--port", "8080"]

0 commit comments

Comments
 (0)