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