refactor: remove duplicate commands

This commit is contained in:
Johnny Almonte
2020-06-17 21:46:42 -04:00
parent 8aaaf31bd4
commit dd426cf0a0

View File

@@ -34,14 +34,8 @@ COPY . /app/
# Leave RAILS_SERVE_STATIC_FILES commented if Nginx/Apache will serve static files instead of rails.
###
RUN bundle install
RUN npm install
RUN npm run build
RUN bundle exec rake assets:precompile
EXPOSE 3000
ENTRYPOINT [ "./docker/entrypoint" ]