Skip to content

Commit

Permalink
Merge pull request #78 from edx/hunia/change-user-to-root-in-dev-target
Browse files Browse the repository at this point in the history
chore: changed user back to root in image creation
  • Loading branch information
huniafatima-arbi authored Dec 18, 2024
2 parents 6963c03 + 74ff23c commit 59c38b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dockerfiles/enterprise-catalog.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,4 @@ EXPOSE 18160
EXPOSE 18161
USER root
RUN pip install -r requirements/dev.txt
USER app
CMD gunicorn --workers=2 --name enterprise_catalog -c /edx/app/enterprise-catalog/enterprise_catalog/docker_gunicorn_configuration.py --log-file - --max-requests=1000 enterprise_catalog.wsgi:application

Check warning on line 105 in dockerfiles/enterprise-catalog.Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

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/

Check warning on line 105 in dockerfiles/enterprise-catalog.Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

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/

Check warning on line 105 in dockerfiles/enterprise-catalog.Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

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/

Check warning on line 105 in dockerfiles/enterprise-catalog.Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

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/

Check warning on line 105 in dockerfiles/enterprise-catalog.Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

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 59c38b9

Please sign in to comment.