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.
1 parent d539810 commit 462e914Copy full SHA for 462e914
railties/lib/rails/generators/rails/app/templates/Dockerfile.tt
@@ -1,7 +1,8 @@
1
# syntax = docker/dockerfile:1
2
3
-# Note: This Dockerfile is optimized for production deployment and isn't a good base
4
-# for development enviroments.
+# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
+# 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
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
8
ARG RUBY_VERSION=<%= gem_ruby_version %>
0 commit comments