diff --git a/Dockerfile b/Dockerfile index c21e282e6..b809b2c3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-alpine +FROM node:20-bookworm WORKDIR /opt/app @@ -6,10 +6,10 @@ ENV NODE_ENV production COPY package*.json ./ -RUN npm ci +RUN npm ci COPY . /opt/app -RUN npm install --dev && npm run build +RUN npm install --also=dev && npm run build CMD [ "npm", "start" ] \ No newline at end of file