diff --git a/docker/Dockerfile b/docker/Dockerfile index 66ef715..d0a76d8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ FROM node:20-alpine AS node-builder WORKDIR /app -COPY package.json package-lock.json ./ -RUN npm ci --ignore-scripts +COPY package.json ./ +RUN npm install --ignore-scripts COPY . . RUN npm run build:icons && npm run build diff --git a/docker/nginx.Dockerfile b/docker/nginx.Dockerfile index 97842a5..a573ab9 100644 --- a/docker/nginx.Dockerfile +++ b/docker/nginx.Dockerfile @@ -1,7 +1,7 @@ FROM node:20-alpine AS node-builder WORKDIR /app -COPY package.json package-lock.json ./ -RUN npm ci --ignore-scripts +COPY package.json ./ +RUN npm install --ignore-scripts COPY . . RUN npm run build:icons && npm run build