Skip to content

Commit

Permalink
Revert "Use JSON arguments for Dockerfile CMD"
Browse files Browse the repository at this point in the history
This reverts commit 1e1a487.
  • Loading branch information
Nitemaeric committed Dec 4, 2024
1 parent 0fbeaa1 commit 8255ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ RUN ls /app/public/ && \
ARG COMMIT_SHA
ENV COMMIT_SHA=${COMMIT_SHA}

CMD ["bundle", "exec", "rails", "db:migrate:with_data_migrations", "&&", "bundle", "exec", "rails", "server", "-b 0.0.0.0"]
CMD bundle exec rails db:migrate:with_data_migrations && bundle exec rails server -b 0.0.0.0

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/

0 comments on commit 8255ac7

Please sign in to comment.