diff --git a/Dockerfile b/Dockerfile index beb75455..fc5278e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,11 @@ COPY --chown=ruby:ruby . . FROM base AS app +# Each directory that Rails or our application needs to +# write to under /app/tmp/ must be added individually +VOLUME "/tmp/" +VOLUME "/app/tmp/sockets/" + ENV RAILS_ENV="${RAILS_ENV:-production}" \ PATH="${PATH}:/home/ruby/.local/bin" \ USER="ruby"