diff --git a/docker/Dockerfile b/docker/Dockerfile index 9a6d5c3f..1b119c40 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,7 +6,8 @@ WORKDIR /app # Install app dependencies COPY package*.json ./ -RUN npm ci +#RUN npm ci +RUN npm install # Copy source files and build the app COPY . . @@ -24,7 +25,8 @@ COPY --from=build-stage /app/dist ./dist # Install only production dependencies COPY package*.json ./ -RUN npm ci --production +#RUN npm ci --production +RUN npm install USER node # Define the entrypoint and default command