refactor: remove duplicate commands
This commit is contained in:
@@ -34,14 +34,8 @@ COPY . /app/
|
|||||||
# Leave RAILS_SERVE_STATIC_FILES commented if Nginx/Apache will serve static files instead of rails.
|
# 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 npm run build
|
||||||
|
|
||||||
RUN bundle exec rake assets:precompile
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
ENTRYPOINT [ "./docker/entrypoint" ]
|
ENTRYPOINT [ "./docker/entrypoint" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user