From 3248532e5bb2891c63a1d7680a410985c350e56e Mon Sep 17 00:00:00 2001 From: Michael Vandeberg Date: Wed, 8 May 2024 09:36:20 -0600 Subject: [PATCH] Install python3 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ccccbc..cec4a03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:18-alpine AS build # Install dependencies only when needed # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. -RUN apk add --no-cache libc6-compat +RUN apk add --no-cache libc6-compat python3 WORKDIR /app # Copy and install the dependencies for the project COPY package.json yarn.lock ./ @@ -17,7 +17,7 @@ RUN yarn build FROM node:18-alpine # update and install latest dependencies, add dumb-init package # add a non root user -RUN apk update && apk upgrade && apk add dumb-init +RUN apk update && apk upgrade && apk add dumb-init python3 # set work dir as app WORKDIR /app