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:
Jean Boussier 2024-05-07 10:16:47 +02:00
parent 9ad3685538
commit 15ad544dfa
1 changed files with 3 additions and 0 deletions

View File

@ -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