Change context
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lennard Brinkhaus 2022-01-10 15:25:06 +01:00
parent 9c9a87635e
commit 5035048b8d
No known key found for this signature in database
GPG Key ID: 015DB28D8EEE19EC
2 changed files with 5 additions and 4 deletions

View File

@ -6,6 +6,7 @@ steps:
- name: docker_nginx_1.21 - name: docker_nginx_1.21
image: plugins/docker image: plugins/docker
settings: settings:
context: 1.21/
dockerfile: 1.21/Dockerfile dockerfile: 1.21/Dockerfile
registry: harbor.dragse.it registry: harbor.dragse.it
repo: harbor.dragse.it/base/nginx repo: harbor.dragse.it/base/nginx

View File

@ -138,10 +138,10 @@ RUN sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.co
USER $UID USER $UID
COPY 1.21/docker-entrypoint.sh / COPY docker-entrypoint.sh /
COPY 1.21/10-listen-on-ipv6-by-default.sh /docker-entrypoint.d COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d
COPY 1.21/20-envsubst-on-templates.sh /docker-entrypoint.d COPY 20-envsubst-on-templates.sh /docker-entrypoint.d
COPY 1.21/30-tune-worker-processes.sh /docker-entrypoint.d COPY 30-tune-worker-processes.sh /docker-entrypoint.d
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
EXPOSE 8080 EXPOSE 8080