From 5035048b8d1420b4408496d8719d3f0bd335e75d Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Mon, 10 Jan 2022 15:25:06 +0100 Subject: [PATCH] Change context --- .drone.yml | 1 + 1.21/Dockerfile | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3f7b33a..d277bb0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,7 @@ steps: - name: docker_nginx_1.21 image: plugins/docker settings: + context: 1.21/ dockerfile: 1.21/Dockerfile registry: harbor.dragse.it repo: harbor.dragse.it/base/nginx diff --git a/1.21/Dockerfile b/1.21/Dockerfile index f397fad..3d2b931 100644 --- a/1.21/Dockerfile +++ b/1.21/Dockerfile @@ -138,10 +138,10 @@ RUN sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.co USER $UID -COPY 1.21/docker-entrypoint.sh / -COPY 1.21/10-listen-on-ipv6-by-default.sh /docker-entrypoint.d -COPY 1.21/20-envsubst-on-templates.sh /docker-entrypoint.d -COPY 1.21/30-tune-worker-processes.sh /docker-entrypoint.d +COPY docker-entrypoint.sh / +COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d +COPY 20-envsubst-on-templates.sh /docker-entrypoint.d +COPY 30-tune-worker-processes.sh /docker-entrypoint.d ENTRYPOINT ["/docker-entrypoint.sh"] EXPOSE 8080