mirror of https://github.com/rails/rails
Explain that the default Dockerfile is intended for production
If people want to use Docker in development, they'd need a radically different setup, and are likely much better served by dev containers.
This commit is contained in:
parent
9ad3685538
commit
15ad544dfa
|
@ -1,5 +1,8 @@
|
|||
# syntax = docker/dockerfile:1
|
||||
|
||||
# Note: This Dockerfile is optimized for production deployment and isn't a good base
|
||||
# for development enviroments.
|
||||
|
||||
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
|
||||
ARG RUBY_VERSION=<%= gem_ruby_version %>
|
||||
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
|
||||
|
|
Loading…
Reference in New Issue