Skip to content

Commit d8412be

Browse files
committed
Drop EXPOSE line from Dockerfile
It's only for documentation, the `app_local_port` may not correspond to the port expected in production, etc.
1 parent cd73b4b commit d8412be

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

template/{{app_name}}/Dockerfile.jinja renamed to template/{{app_name}}/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ ENV RAILS_ENV="production" \
1919
BUNDLE_PATH="/usr/local/bundle" \
2020
TMPDIR="/rails/tmp"
2121

22-
# Start the server by default, this can be overwritten at runtime
23-
EXPOSE {{ app_local_port }}
24-
2522
# In production, this should be the only filesystem location with writes
2623
VOLUME /rails/tmp
2724

0 commit comments

Comments
 (0)