Skip to content

Commit 66eda9c

Browse files
authored
Merge pull request rails#51789 from Shopify/reference-devcontainer-guides-in-dockerfile
Reference the dev container guides in a comment in the production doc…
2 parents a70d89c + eeec15c commit 66eda9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# docker build -t my-app .
55
# docker run -d -p 80:80 -p 443:443 --name my-app -e RAILS_MASTER_KEY=<value from config/master.key> my-app
66

7+
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
8+
79
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
810
ARG RUBY_VERSION=<%= gem_ruby_version %>
911
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base

0 commit comments

Comments
 (0)