Instead of passing it as an option to the server.
@@ -14,6 +14,7 @@ ENV BUNDLE_FORCE_RUBY_PLATFORM=true
RUN bundle config set with 'postgresql iodine'
RUN bundle install --jobs=8
+ENV RACK_ENV=production
ENV DBTYPE=postgresql
EXPOSE 8080
@@ -14,9 +14,10 @@ ENV BUNDLE_FORCE_RUBY_PLATFORM=true
RUN bundle config set with 'postgresql puma'
ENV WEB_CONCURRENCY=auto
-CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080 -e production
+CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080
@@ -15,9 +15,10 @@ ENV BUNDLE_FORCE_RUBY_PLATFORM=true
RUN bundle config set with 'mysql puma'
ENV DBTYPE=mysql