diff --git a/Dockerfile b/Dockerfile index 3ab76ec..48eb7df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,9 @@ ADD build /usr/share/nginx/html RUN rm etc/nginx/conf.d/default.conf COPY nginx.conf etc/nginx/conf.d/ + +COPY entrypoint.sh /entrypoint.sh + # add non-root user RUN touch /var/run/nginx.pid RUN chown -R nginx:nginx /var/run/nginx.pid /usr/share/nginx/html /var/cache/nginx /var/log/nginx /etc/nginx/conf.d @@ -16,9 +19,6 @@ EXPOSE 8080 USER nginx - -COPY entrypoint.sh /entrypoint.sh - # Start Nginx server ENTRYPOINT sh -c "./entrypoint.sh && nginx -g 'daemon off;'" RUN chmod +x entrypoint.sh diff --git a/package.json b/package.json index 9cac827..1c80c5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platine-my-surveys", - "version": "0.2.20", + "version": "0.2.21", "private": true, "dependencies": { "@emotion/react": "^11.9.0",