Switch to built in rails server

This commit is contained in:
TheAssassin 2017-04-01 01:13:39 +02:00 committed by Hernán Schmidt
parent 2c3c070f7e
commit 28d9ac9b1f
2 changed files with 1 additions and 2 deletions

View file

@ -19,7 +19,6 @@ RUN cd /usr/bin && \
# explicitly add Gemfile and install dependencies using bundler to make use of
# Docker's caching
WORKDIR /osem/
RUN gem install puma
COPY Gemfile /osem/
COPY Gemfile.lock /osem/
RUN bundle install --without test development

View file

@ -42,4 +42,4 @@ echo ">>> Precompiling assets..."
bundle exec rake assets:precompile
echo ">>> Starting application server..."
exec puma -e production
exec bundle exec rails server -e production -p 9292