fix: build web app before precompiling assets
This commit is contained in:
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user