Skip to content

Commit

Permalink
♻️ Do not add EXPOSE 80 by default as the port can be changed (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Sep 8, 2024
1 parent f0f1bfc commit 4956cd3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions docker-images/python3.7.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ WORKDIR /app/

ENV PYTHONPATH=/app

EXPOSE 80

ENTRYPOINT ["/entrypoint.sh"]

# Run the start script, it will check for an /app/prestart.sh script (e.g. for migrations)
Expand Down
2 changes: 0 additions & 2 deletions docker-images/python3.8.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ WORKDIR /app/

ENV PYTHONPATH=/app

EXPOSE 80

ENTRYPOINT ["/entrypoint.sh"]

# Run the start script, it will check for an /app/prestart.sh script (e.g. for migrations)
Expand Down
2 changes: 0 additions & 2 deletions docker-images/python3.9.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ WORKDIR /app/

ENV PYTHONPATH=/app

EXPOSE 80

ENTRYPOINT ["/entrypoint.sh"]

# Run the start script, it will check for an /app/prestart.sh script (e.g. for migrations)
Expand Down

0 comments on commit 4956cd3

Please sign in to comment.