From 36b43d77ccb175e162f1fbf7b268109dbea165ac Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 25 Nov 2023 15:28:13 +0100 Subject: [PATCH] fix see: https://github.com/nodejs/docker-node/issues/1912 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80d450a..b72a636 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- 2.45.2