forked from External/greenlight
make upgrading from 1.0 easier
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
FROM ruby:2.5
|
||||
|
||||
# Install app dependencies.
|
||||
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
|
||||
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
|
||||
|
||||
# Set an environment variable for the install location.
|
||||
ENV RAILS_ROOT /usr/src/app
|
||||
@ -23,8 +23,8 @@ RUN bundle install --without development test --deployment --clean
|
||||
RUN bundle exec rake assets:clean
|
||||
RUN bundle exec rake assets:precompile
|
||||
|
||||
# Expose port 3000.
|
||||
EXPOSE 3000
|
||||
# Expose port 80.
|
||||
EXPOSE 80
|
||||
|
||||
# Start the application.
|
||||
CMD ["bin/start"]
|
||||
|
Reference in New Issue
Block a user