see: https://github.com/nodejs/docker-node/issues/1912
This commit is contained in:
parent
5b4a635bf4
commit
36b43d77cc
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM node:21.2.0-alpine3.18
|
||||
FROM node:20.7-alpine3.18
|
||||
|
||||
ENV DOCKERIZED=1
|
||||
RUN mkdir /config
|
||||
|
@ -12,11 +12,11 @@ WORKDIR /app
|
|||
|
||||
COPY --chown=node:node . .
|
||||
|
||||
RUN npm ci --only=production
|
||||
RUN npm ci --omit=dev
|
||||
RUN npx tsc
|
||||
|
||||
RUN rm -r src/ tsconfig.json
|
||||
RUN npm uninstall typescript @types/sqlite3
|
||||
RUN npm uninstall typescript @types/sqlite3 @types/uuid
|
||||
|
||||
ENV DP_FORCE_YTDL_MOD=youtube-ext
|
||||
|
||||
|
|
Loading…
Reference in a new issue