fix(ci): downgrade node (#115)
Some checks failed
ci/woodpecker/push/publish Pipeline failed
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:
parent
5b4a635bf4
commit
bfa37d51ee
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