Skip to content

Commit a3324e0

Browse files
committed
refactor(Dockerfile): update server entry point command format
1 parent 3f5ff67 commit a3324e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,11 @@ RUN set -eux; \
3737

3838
COPY --from=python-builder --chown=$UID:$GID /usr/local/lib/python3.13/site-packages/ /usr/local/lib/python3.13/site-packages/
3939
COPY --chown=$UID:$GID src/ ./
40-
COPY --chown=$UID:$GID run_server.py ./
4140

4241
RUN set -eux; \
4342
chown -R appuser:appuser /app
4443
USER appuser
4544

4645
EXPOSE 8000
4746
EXPOSE 9090
48-
CMD ["python", "run_server.py"]
47+
CMD ["python", "-m", "server"]

0 commit comments

Comments
 (0)