Don't bother with alpine
Some checks failed
Build and deploy / deploy (push) Failing after 1m43s

This commit is contained in:
2024-10-12 01:48:03 +01:00
parent f8127c52dd
commit 8ccac834bb

View File

@@ -1,9 +1,7 @@
FROM node:22-alpine AS base FROM node:22 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.
RUN apk add --no-cache libc6-compat python3 g++ make
WORKDIR /app WORKDIR /app
# Install dependencies based on the preferred package manager # Install dependencies based on the preferred package manager