switch to pnpm

This commit is contained in:
Lee 2023-11-08 06:45:46 +00:00
parent 3f605dc15f
commit b9dedbc603
5 changed files with 1202 additions and 1807 deletions

4
.gitignore vendored
View File

@ -144,3 +144,7 @@ dist
# Built Visual Studio Code Extensions
*.vsix
# lock files
package-lock.json
yarn.lock

View File

@ -1,9 +1,10 @@
FROM node:alpine
FROM fascinated/docker-images:node-pnpm-latest
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY package.json pnpm-lock.yaml ./
RUN pnpm install
COPY . .
RUN npx tsc -b
RUN pnpm run build
ENV PORT=80
EXPOSE 80
CMD [ "npm", "start" ]
CMD [ "pnpm", "start" ]

1802
package-lock.json generated

File diff suppressed because it is too large Load Diff

1192
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File