This commit is contained in:
1 parent
b690b00016
commit
ead8219f3b
40 files changed
+10149
-37
No files matched your search
@@ -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