Skip to content

Commit 15ad544

Browse files
committed
Explain that the default Dockerfile is intended for production
If people want to use Docker in development, they'd need a radically different setup, and are likely much better served by dev containers.
1 parent 9ad3685 commit 15ad544

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

railties/lib/rails/generators/rails/app/templates/Dockerfile.tt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# syntax = docker/dockerfile:1
22

3+
# Note: This Dockerfile is optimized for production deployment and isn't a good base
4+
# for development enviroments.
5+
36
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
47
ARG RUBY_VERSION=<%= gem_ruby_version %>
58
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base

0 commit comments

Comments
 (0)