fix docker build
This commit is contained in:
parent
58ac8a9e8c
commit
13a348e69e
1 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue