test debug frontend build
This commit is contained in:
+1
-4
@@ -13,14 +13,11 @@
|
|||||||
# CMD ["npm", "run", "start"]
|
# CMD ["npm", "run", "start"]
|
||||||
|
|
||||||
|
|
||||||
# Use a Debian-based image instead of Alpine to avoid musl-related issues
|
|
||||||
FROM node:20-slim
|
FROM node:20-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# 1. Clean npm cache
|
|
||||||
# 2. Force install optional dependencies
|
|
||||||
# 3. Use --legacy-peer-deps if needed
|
|
||||||
RUN npm cache clean --force && \
|
RUN npm cache clean --force && \
|
||||||
npm install --include=optional --legacy-peer-deps
|
npm install --include=optional --legacy-peer-deps
|
||||||
|
|
||||||
|
|||||||
Generated
+1
-1620
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user