Skip to content

Commit

Permalink
refactor: remove redundant curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 committed Oct 18, 2024
1 parent d98fb95 commit cf96c72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/push-enterprise-catalog-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
schedule:
- cron: "0 4 * * 1-5" # UTC Time

# Added for testing purposes. Will remove once the PR is finalised
pull_request:
branches:
- '**'

jobs:
build-and-push-image:
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion dockerfiles/enterprise-catalog.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ FROM app as legacy_devapp
EXPOSE 18160
EXPOSE 18161
USER root
RUN curl -L -o requirements/dev.txt https://raw.githubusercontent.com/openedx/enterprise-catalog/master/requirements/dev.txt
RUN pip install -r requirements/dev.txt
USER app
CMD ["gunicorn", "--reload", "--workers=2", "--name", "enterprise_catalog", "-b", ":18160", "-c", "/edx/app/enterprise_catalog/enterprise_catalog/enterprise_catalog/docker_gunicorn_configuration.py", "--log-file", "-", "--max-requests=1000", "enterprise_catalog.wsgi:application"]

0 comments on commit cf96c72

Please sign in to comment.