This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,14 +1,16 @@
|
||||
FROM node:18
|
||||
FROM node:22
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
COPY . .
|
||||
|
||||
RUN npm ci
|
||||
|
||||
RUN npm run build
|
||||
RUN npm run build-noweb
|
||||
|
||||
COPY . .
|
||||
RUN npm prune --production
|
||||
|
||||
COPY dist dist
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user