fix: Docker Compose configuration fixes
- Fix frontend Dockerfile reference (Dockerfile not Dockerfile.frontend) - Remove obsolete 'version' attribute from docker-compose.yml - Add --legacy-peer-deps to npm ci in frontend Dockerfile Docker build now works correctly.
This commit is contained in:
@@ -9,7 +9,7 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci
|
||||
RUN npm ci --legacy-peer-deps
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user