fix docker build

This commit is contained in:
Mylloon 2023-02-12 01:09:13 +01:00
parent 58ac8a9e8c
commit 13a348e69e
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -12,10 +12,10 @@ WORKDIR /app
COPY --chown=node:node . . COPY --chown=node:node . .
RUN npm ci --only=production RUN npm ci --only=production --legacy-peer-deps
RUN npx tsc RUN npx tsc
RUN rm -r src/ tsconfig.json RUN rm -r src/ tsconfig.json
RUN npm uninstall typescript @types/sqlite3 RUN npm uninstall typescript @types/sqlite3 --legacy-peer-deps
CMD ["dumb-init", "node", "./dist/index.js"] CMD ["dumb-init", "node", "./dist/index.js"]