Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(Dockerfile): update Dockerfile to higher version with updated params
  • Loading branch information
datasalaryman committed Jan 11, 2024
commit 5cac14c7aed803537b384ab597e96d535fa60e51
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM node:12-alpine
FROM node:20-bookworm

WORKDIR /opt/app

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" ]