diff --git a/.github/workflows/push-enterprise-catalog-image.yaml b/.github/workflows/push-enterprise-catalog-image.yaml index b411ed1..6afd67f 100644 --- a/.github/workflows/push-enterprise-catalog-image.yaml +++ b/.github/workflows/push-enterprise-catalog-image.yaml @@ -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 diff --git a/dockerfiles/enterprise-catalog.Dockerfile b/dockerfiles/enterprise-catalog.Dockerfile index 7c19bed..dd81b2f 100644 --- a/dockerfiles/enterprise-catalog.Dockerfile +++ b/dockerfiles/enterprise-catalog.Dockerfile @@ -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"]