Fix build et actions
This commit is contained in:
@@ -4,16 +4,13 @@ FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
COPY frontend/package*.json ./
|
||||
|
||||
# Debug: List files and Node.js version
|
||||
RUN ls -la && node --version && npm --version
|
||||
|
||||
# Install dependencies with more verbose output
|
||||
RUN npm install --verbose
|
||||
# Install dependencies
|
||||
RUN npm ci
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
COPY frontend/ .
|
||||
|
||||
# Build argument for API URL
|
||||
ARG NEXT_PUBLIC_API_URL=http://localhost:8001
|
||||
|
||||
Reference in New Issue
Block a user