Skip to content

Commit bfd924a

Browse files
authored
Merge pull request rails#51751 from Shopify/docker-file-note
Explain that the default Dockerfile is intended for production
2 parents e8e077d + 15ad544 commit bfd924a

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)