Commit
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# Combined Frontend and Backend Setup
|
||||
FROM node:18-slim AS combined-build
|
||||
WORKDIR /app
|
||||
|
||||
@@ -12,7 +11,7 @@ RUN npm run build
|
||||
# Copy frontend build output to /app directory
|
||||
WORKDIR /app
|
||||
RUN mkdir -p /app/public
|
||||
COPY --from=combined-build /app/frontend/dist /app/public
|
||||
COPY /app/frontend/dist /app/public
|
||||
|
||||
# Setup backend
|
||||
COPY backend/package*.json ./
|
||||
|
||||
Reference in New Issue
Block a user