diff --git a/Dockerfile b/Dockerfile index 2f2b072..f3bc03e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ FROM nginx:latest AS build COPY conf/nginx.conf /etc/nginx/nginx.conf -ADD --chmod=a+x entrypoint/docker-entrypoint.sh /docker-entrypoint.sh +COPY entrypoint/docker-entrypoint.sh /docker-entrypoint.sh # Create the folder structure for the cache RUN mkdir -p /var/lib/nginx/pypi && \ - chown -R www-data:www-data /var/lib/nginx + chown -R www-data:www-data /var/lib/nginx && \ + chmod a+x /docker-entrypoint.sh FROM scratch as final