From 48ced9bd34c221d5ea408d738e5637d80caa8c33 Mon Sep 17 00:00:00 2001 From: Peter Willemsen Date: Fri, 16 Jun 2023 17:45:36 +0200 Subject: [PATCH] hardcoded node version due to bug "Text file busy" error introduced in node 20.3 (#1320) Co-authored-by: Dessalines --- Dockerfile | 2 +- dev.dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d6d6212..2b36581d 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 0e925c0a..3bfc10da 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