Updated dockerfile for new file structure
This commit is contained in:
@@ -8,8 +8,8 @@ RUN npm run build
|
||||
|
||||
# Build backend
|
||||
FROM node:18-alpine AS backend-build
|
||||
WORKDIR /app/src/backend # Ensure the correct path here
|
||||
COPY ./src/backend ./src/backend # Copy the correct backend files
|
||||
WORKDIR /app/src/backend
|
||||
COPY ./src/backend ./src/backend
|
||||
|
||||
# Configure nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
Reference in New Issue
Block a user