fix(ci): downgrade node (#115)
Some checks failed
ci/woodpecker/push/publish Pipeline failed

we should keep an eye on https://github.com/nodejs/docker-node/issues/1912

Reviewed-on: #115
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
Mylloon 2023-11-25 15:28:52 +01:00 committed by Anri Kennel
parent 5b4a635bf4
commit bfa37d51ee
Signed by: Forgejo
GPG key ID: E72245C752A07631

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM node:21.2.0-alpine3.18 FROM node:20.7-alpine3.18
ENV DOCKERIZED=1 ENV DOCKERIZED=1
RUN mkdir /config RUN mkdir /config
@ -12,11 +12,11 @@ WORKDIR /app
COPY --chown=node:node . . COPY --chown=node:node . .
RUN npm ci --only=production RUN npm ci --omit=dev
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 @types/uuid
ENV DP_FORCE_YTDL_MOD=youtube-ext ENV DP_FORCE_YTDL_MOD=youtube-ext