fix: build web app before precompiling assets

This commit is contained in:
Baptiste Grob
2020-07-30 17:00:10 +02:00
parent 11ac38856f
commit 8e4104c4a5

View File

@@ -20,10 +20,10 @@ RUN gem install bundler && bundle install
COPY . /app/
RUN bundle exec rails assets:precompile
RUN npm run bundle
RUN bundle exec rails assets:precompile
EXPOSE 3000
ENTRYPOINT [ "./docker/entrypoint.sh" ]