We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a70d89c + eeec15c commit 66eda9cCopy full SHA for 66eda9c
railties/lib/rails/generators/rails/app/templates/Dockerfile.tt
@@ -4,6 +4,8 @@
4
# docker build -t my-app .
5
# docker run -d -p 80:80 -p 443:443 --name my-app -e RAILS_MASTER_KEY=<value from config/master.key> my-app
6
7
+# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
8
+
9
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
10
ARG RUBY_VERSION=<%= gem_ruby_version %>
11
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
0 commit comments