Make the Docker image usable #3

Merged
atomaka merged 2 commits from add-workdir into main 2023-03-12 10:39:43 -04:00

View file

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