From ce953813e4492917c97d06a9e9bb69c182988db4 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Mon, 18 Mar 2024 16:11:53 -0700 Subject: [PATCH] Any old commit to trigger a build --- .github/workflows/pr-close.yml | 2 +- frontend/Dockerfile.nginx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index 3cc0d009..fccaf927 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -12,7 +12,7 @@ concurrency: jobs: cleanup: name: Cleanup and Images - uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v0 + uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v0.4.0 secrets: oc_namespace: ${{ secrets.OC_NAMESPACE }} oc_token: ${{ secrets.OC_TOKEN }} diff --git a/frontend/Dockerfile.nginx b/frontend/Dockerfile.nginx index 22ffc44d..7cb1742e 100644 --- a/frontend/Dockerfile.nginx +++ b/frontend/Dockerfile.nginx @@ -12,7 +12,7 @@ ENV PYTHONUNBUFFERED 1 ENV PATH="/venv/bin:$PATH" RUN apt-get update --no-install-recommends && \ - apt-get install -y gcc + apt-get install -y gcc RUN python -m venv /venv # install requirements @@ -32,10 +32,10 @@ COPY --from=BUILDER /app/nginx.conf /app/nginx.conf COPY start_nginx.sh /app/start_nginx.sh ## add permissions for nginx user RUN chown -R nginx:nginx /app && chmod -R 777 /app && \ - chown -R nginx:nginx /var/cache/nginx && chmod -R 777 /var/cache/nginx && \ - chown -R nginx:nginx /var/log/nginx && chmod -R 777 /var/log/nginx && \ - chown -R nginx:nginx /etc/nginx/conf.d && chmod -R 777 /etc/nginx/conf.d && \ - chown -R nginx:nginx /etc/nginx/nginx.conf && chmod -R 777 /etc/nginx/nginx.conf + chown -R nginx:nginx /var/cache/nginx && chmod -R 777 /var/cache/nginx && \ + chown -R nginx:nginx /var/log/nginx && chmod -R 777 /var/log/nginx && \ + chown -R nginx:nginx /etc/nginx/conf.d && chmod -R 777 /etc/nginx/conf.d && \ + chown -R nginx:nginx /etc/nginx/nginx.conf && chmod -R 777 /etc/nginx/nginx.conf RUN touch /var/run/nginx.pid && \ chown -R nginx:nginx /var/run/nginx.pid && chmod -R 777 /var/run/nginx.pid