try to upgrade to latest node version (#120)
Some checks failed
ci/woodpecker/push/publish Pipeline failed
Some checks failed
ci/woodpecker/push/publish Pipeline failed
Reviewed-on: #120 Co-authored-by: Mylloon <kennel.anri@tutanota.com> Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
parent
b953071dff
commit
44901b206a
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM node:19.8.1-alpine3.17
|
FROM node:21.2.0-alpine3.18
|
||||||
|
|
||||||
ENV DOCKERIZED=1
|
ENV DOCKERIZED=1
|
||||||
RUN mkdir /config
|
RUN mkdir /config
|
||||||
|
@ -12,7 +12,9 @@ WORKDIR /app
|
||||||
|
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
|
|
||||||
RUN npm ci --omit=dev
|
# UV_USE_IO_URING=0 may be a fix to `'node': Text file busy`
|
||||||
|
# https://github.com/nodejs/docker-node/issues/1912#issuecomment-1594233686
|
||||||
|
RUN UV_USE_IO_URING=0 npm ci --omit=dev
|
||||||
RUN npx tsc
|
RUN npx tsc
|
||||||
|
|
||||||
RUN rm -r src/ tsconfig.json
|
RUN rm -r src/ tsconfig.json
|
||||||
|
|
Loading…
Reference in a new issue