From: Peter Willemsen Date: Fri, 16 Jun 2023 15:45:36 +0000 (+0200) Subject: hardcoded node version due to bug "Text file busy" error introduced in node 20.3... X-Git-Url: http://these/git/%22https:/nerdica.net/readmes/README.ru.md?a=commitdiff_plain;h=48ced9bd34c221d5ea408d738e5637d80caa8c33;p=lemmy-ui.git hardcoded node version due to bug "Text file busy" error introduced in node 20.3 (#1320) Co-authored-by: Dessalines --- diff --git a/Dockerfile b/Dockerfile index 3d6d621..2b36581 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine as builder +FROM node:20.2-alpine as builder RUN apk update && apk add curl yarn python3 build-base gcc wget git --no-cache RUN curl -sf https://gobinaries.com/tj/node-prune | sh diff --git a/dev.dockerfile b/dev.dockerfile index 0e925c0..3bfc10d 100644 --- a/dev.dockerfile +++ b/dev.dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine as builder +FROM node:20.2-alpine as builder RUN apk update && apk add curl yarn python3 build-base gcc wget git --no-cache WORKDIR /usr/src/app