update dockerfile

This commit is contained in:
chenjing 2019-07-08 14:35:44 +08:00
parent 4a0b0f7ad1
commit 5947763ba5
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,5 @@ COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install --jobs 20 --retry 5 --without development test
COPY . .
RUN bundle exec rake assets:precompile
EXPOSE 3000
CMD ["bundle", "exec", "puma", "-C", "config/puma.rb"]

4
yarn.lock Normal file
View File

@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1