Skip to content

Commit 5979d15

Browse files
committed
update
1 parent 47a4c14 commit 5979d15

File tree

3 files changed

+23525
-11493
lines changed

3 files changed

+23525
-11493
lines changed

Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
FROM node:20.19
2-
32
WORKDIR /usr/src/app
4-
53
COPY ./package.json .
6-
7-
COPY ./yarn.lock .
4+
COPY ./package-lock.json .
5+
RUN npx patch-package -y
86

97
COPY ./tsconfig.json .
108

11-
RUN yarn install --frozen-lockfile
9+
ENV NODE_OPTIONS="--openssl-legacy-provider --max-old-space-size=4096"
1210

11+
RUN npm install
1312
COPY . .
14-
RUN yarn build
15-
CMD ["yarn","start:prod"]
13+
RUN npm run build
14+
CMD ["npm","run","start:prod"]
1615

0 commit comments

Comments
 (0)