Dockerfile: python3 + make + g++ für better-sqlite3 Build
This commit is contained in:
@@ -8,7 +8,7 @@ RUN npm run build
|
|||||||
|
|
||||||
# ── Stage 2: Express liefert API + React in einem Container ──────────────────
|
# ── Stage 2: Express liefert API + React in einem Container ──────────────────
|
||||||
FROM node:20-alpine
|
FROM node:20-alpine
|
||||||
RUN apk add --no-cache tzdata
|
RUN apk add --no-cache tzdata python3 make g++
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY backend/package.json ./
|
COPY backend/package.json ./
|
||||||
RUN npm install --production
|
RUN npm install --production
|
||||||
|
|||||||
Reference in New Issue
Block a user