From c92577d4d25c7e95effbc82decdbcf553bf7f1c5 Mon Sep 17 00:00:00 2001 From: thibaut severac Date: Sun, 12 Nov 2023 19:04:01 +0100 Subject: [PATCH] fix(docker): python is needed on final stage too --- docker/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6570256..ad50911 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,6 +23,8 @@ FROM node:lts-alpine LABEL maintainer="thibaut severac " WORKDIR /app +RUN apk add --no-cache build-base python3 py3-pip make + COPY --from=builder /app . RUN npm install -g npm && \ @@ -30,7 +32,8 @@ RUN npm install -g npm && \ RUN pnpm install -P RUN npm remove -g pnpm yarn &&\ - npm cache clean --force + npm cache clean --force &&\ + apk del build-base python3 py3-pip make COPY ./docker/entrypoint.sh /usr/local/bin/docker-entrypoint.sh RUN chmod 755 /usr/local/bin/docker-entrypoint.sh