This commit is contained in:
@@ -17,10 +17,6 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Set up docker
|
name: Set up docker
|
||||||
run: 'curl -fsSL https://get.docker.com | sh'
|
run: 'curl -fsSL https://get.docker.com | sh'
|
||||||
-
|
|
||||||
name: Set up python
|
|
||||||
run: |
|
|
||||||
npm install -g node-gyp
|
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ FROM node:22-alpine AS base
|
|||||||
# Install dependencies only when needed
|
# Install dependencies only when needed
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be 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
|
WORKDIR /app
|
||||||
|
|
||||||
# Install dependencies based on the preferred package manager
|
# Install dependencies based on the preferred package manager
|
||||||
|
|||||||
Reference in New Issue
Block a user