Make the Docker image usable #3
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
ARG RUBY_VERSION=3.2.0
|
ARG RUBY_VERSION=3.2.0
|
||||||
FROM ruby:$RUBY_VERSION
|
FROM ruby:$RUBY_VERSION
|
||||||
|
|
||||||
|
# Rails app lives here
|
||||||
|
WORKDIR /rails
|
||||||
|
|
||||||
# Set production environment
|
# Set production environment
|
||||||
ENV RAILS_LOG_TO_STDOUT="1" \
|
ENV RAILS_LOG_TO_STDOUT="1" \
|
||||||
RAILS_SERVE_STATIC_FILES="true" \
|
RAILS_SERVE_STATIC_FILES="true" \
|
||||||
|
|
Loading…
Reference in a new issue