diff --git a/.dockerignore b/.dockerignore index 8dbf0835..d28c1f8d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,3 +3,4 @@ node_modules/ **/tmp *.pyc +**/.env diff --git a/docker/webserver/Dockerfile b/docker/webserver/Dockerfile index ea9639b1..04b4c169 100644 --- a/docker/webserver/Dockerfile +++ b/docker/webserver/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.14 AS build +FROM node:18 AS build WORKDIR /home/node/app @@ -7,7 +7,7 @@ RUN npm clean-install COPY src/unified_graphics/static/ src/unified_graphics/static/ RUN npm run vendor && npm run build -FROM nginxinc/nginx-unprivileged:1.24 +FROM nginxinc/nginx-unprivileged:1.27 COPY --from=build /home/node/app/build /usr/share/nginx/html/static COPY docker/webserver/default.conf.template /etc/nginx/templates/