Skip to content

Commit

Permalink
Explain that the default Dockerfile is intended for production
Browse files Browse the repository at this point in the history
If people want to use Docker in development, they'd need a
radically different setup, and are likely much better served
by dev containers.
  • Loading branch information
byroot committed May 7, 2024
1 parent 9ad3685 commit 15ad544
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 15ad544

Please sign in to comment.