Switch to built in rails server
This commit is contained in:
parent
2c3c070f7e
commit
28d9ac9b1f
2 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,6 @@ RUN cd /usr/bin && \
|
||||||
# explicitly add Gemfile and install dependencies using bundler to make use of
|
# explicitly add Gemfile and install dependencies using bundler to make use of
|
||||||
# Docker's caching
|
# Docker's caching
|
||||||
WORKDIR /osem/
|
WORKDIR /osem/
|
||||||
RUN gem install puma
|
|
||||||
COPY Gemfile /osem/
|
COPY Gemfile /osem/
|
||||||
COPY Gemfile.lock /osem/
|
COPY Gemfile.lock /osem/
|
||||||
RUN bundle install --without test development
|
RUN bundle install --without test development
|
||||||
|
|
|
||||||
|
|
@ -42,4 +42,4 @@ echo ">>> Precompiling assets..."
|
||||||
bundle exec rake assets:precompile
|
bundle exec rake assets:precompile
|
||||||
|
|
||||||
echo ">>> Starting application server..."
|
echo ">>> Starting application server..."
|
||||||
exec puma -e production
|
exec bundle exec rails server -e production -p 9292
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue