From bfa37d51ee54a7bf3eda8bfc3eada8706fc67df8 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 25 Nov 2023 15:28:52 +0100 Subject: [PATCH] fix(ci): downgrade node (#115) we should keep an eye on https://github.com/nodejs/docker-node/issues/1912 Reviewed-on: https://git.mylloon.fr/ConfrerieDuKassoulait/Botanique/pulls/115 Co-authored-by: Mylloon Co-committed-by: Mylloon --- 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