Skip to content

Commit

Permalink
Show how to use the Dockerfile directly
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed May 12, 2024
1 parent d539810 commit 462e914
Showing 1 changed file with 3 additions and 2 deletions.
@@ -1,7 +1,8 @@
# syntax = docker/dockerfile:1

# Note: This Dockerfile is optimized for production deployment and isn't a good base
# 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 .
# docker run -d -p 80:80 -p 443:443 --name my-app -e RAILS_MASTER_KEY=<value from config/master.key> my-app

# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
ARG RUBY_VERSION=<%= gem_ruby_version %>
Expand Down

0 comments on commit 462e914

Please sign in to comment.