This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# Frontend build stage
|
||||
FROM node:25-alpine AS frontend-builder
|
||||
|
||||
WORKDIR /frontend
|
||||
WORKDIR /frontend_new
|
||||
|
||||
COPY frontend/package*.json ./
|
||||
COPY frontend_new/package*.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY frontend/ .
|
||||
COPY frontend_new/ .
|
||||
RUN npm run build
|
||||
|
||||
# Backend build stage
|
||||
@@ -32,7 +32,7 @@ RUN apk --no-cache add ca-certificates
|
||||
WORKDIR /root/
|
||||
|
||||
COPY --from=backend-builder /app/server .
|
||||
COPY --from=frontend-builder /frontend/dist ./public
|
||||
COPY --from=frontend-builder /frontend_new/out ./public
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user