From 8e4104c4a58bcf712b1f99aaac2799e8f6ba402f Mon Sep 17 00:00:00 2001 From: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com> Date: Thu, 30 Jul 2020 17:00:10 +0200 Subject: [PATCH] fix: build web app before precompiling assets --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b13808ea2..3d1e946b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ]