test debug frontend build

This commit is contained in:
Parsa Nazer
2025-03-06 19:55:19 +03:30
parent b557a7708c
commit 81351e91d4
2 changed files with 2 additions and 1624 deletions
+1 -4
View File
@@ -13,14 +13,11 @@
# CMD ["npm", "run", "start"]
# Use a Debian-based image instead of Alpine to avoid musl-related issues
FROM node:20-slim
WORKDIR /app
COPY package*.json ./
# 1. Clean npm cache
# 2. Force install optional dependencies
# 3. Use --legacy-peer-deps if needed
RUN npm cache clean --force && \
npm install --include=optional --legacy-peer-deps