Fix production flag

This commit is contained in:
Jennie Robinson Faber 2025-10-09 17:05:16 +01:00
parent 260e10d31a
commit 9b45652b83

View file

@ -3,10 +3,10 @@ FROM node:20-alpine
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm ci --production RUN npm ci
COPY . . COPY . .
RUN npm run build RUN npm run build
EXPOSE 3000 EXPOSE 3000
CMD ["node", ".output/server/index.mjs"] CMD ["node", ".output/server/index.mjs"]