diff --git a/docker/Dockerfile b/docker/Dockerfile index 30c3485..754a655 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,7 @@ # 2) nginx stage to serve frontend assets # Name the node stage "builder" -FROM node:16 AS builder +FROM docker.io/node:16 AS builder # Set working directory WORKDIR /app @@ -16,7 +16,7 @@ COPY . . RUN npm i && npm run build # nginx state for serving content -FROM nginx:alpine +FROM docker.io/nginx:alpine COPY ./nginx.conf /etc/nginx/nginx.conf # Set working directory to nginx asset directory RUN mkdir /app