Make the Docker image usable #3

Merged
atomaka merged 2 commits from add-workdir into main 2023-03-12 10:39:43 -04:00
Showing only changes of commit b6b5fbe497 - Show all commits

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