Skip to content

Commit

Permalink
Install python3
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed May 8, 2024
1 parent d9441d3 commit 3248532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand All @@ -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
Expand Down

0 comments on commit 3248532

Please sign in to comment.