diff --git a/docker/Dockerfile b/docker/Dockerfile index 9a71fde..75bae48 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,9 +1,8 @@ FROM node:20-alpine ARG WEBAPI_PORT WORKDIR /app -COPY ./package*.json ./ -RUN npm ci COPY ./ ./ +RUN npm ci --no-audit && npm cache clean --force EXPOSE $WEBAPI_PORT USER node CMD ["node", "./main.mjs"]