diff --git a/docker-compose.yml b/docker-compose.yml index 24e17a0f..09b6479b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,7 +35,7 @@ services: - exclude:/home/node/app/node_modules nginx: - image: nginx:latest + image: nginx:1.23.1-alpine volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro ports: diff --git a/node/Dockerfile b/node/Dockerfile index d5e30aec..b5b9d7d2 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.8.0-alpine as build +FROM node:18.8.0-alpine3.16 as build USER node RUN mkdir /home/node/app