Spaces:
Runtime error
Runtime error
Hanzo Dev
commited on
Commit
·
b60887c
1
Parent(s):
ca69324
Fix npm ci dependency issues - use legacy-peer-deps flag
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -5,8 +5,8 @@ WORKDIR /app
|
|
| 5 |
# Copy package files
|
| 6 |
COPY package*.json ./
|
| 7 |
|
| 8 |
-
# Install dependencies
|
| 9 |
-
RUN npm ci --
|
| 10 |
|
| 11 |
# Copy application files
|
| 12 |
COPY . .
|
|
|
|
| 5 |
# Copy package files
|
| 6 |
COPY package*.json ./
|
| 7 |
|
| 8 |
+
# Install dependencies with legacy peer deps flag
|
| 9 |
+
RUN npm ci --legacy-peer-deps || npm install --legacy-peer-deps
|
| 10 |
|
| 11 |
# Copy application files
|
| 12 |
COPY . .
|