Thr image needs python
Some checks failed
Build and deploy / deploy (push) Failing after 39s

This commit is contained in:
2024-10-12 01:42:33 +01:00
parent 8c1106e99d
commit 13b795a1a7
2 changed files with 1 additions and 5 deletions

View File

@@ -17,10 +17,6 @@ jobs:
-
name: Set up docker
run: 'curl -fsSL https://get.docker.com | sh'
-
name: Set up python
run: |
npm install -g node-gyp
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

View File

@@ -3,7 +3,7 @@ FROM node:22-alpine AS base
# Install dependencies only when needed
FROM base AS deps
# 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
# Install dependencies based on the preferred package manager