pnpm & typescript

This commit is contained in:
2021-10-22 17:47:49 +02:00
parent 4ac32a14d5
commit 832bc1993a
12 changed files with 1022 additions and 296 deletions

View File

@@ -1,9 +1,10 @@
FROM node:14-alpine
FROM node:16-alpine
WORKDIR /app
ADD ./package.json yarn.lock ./
RUN yarn
ADD ./script.js ./
ADD . .
RUN npm install -g pnpm
RUN pnpm install --frozen-lockfile
RUN pnpm run build
CMD ["node", "script.js"]
CMD ["node", "."]