refactor: update findAppRoot function and adjust Dockerfile paths for consistency
This commit is contained in:
@@ -2,12 +2,12 @@ FROM node:24-trixie-slim AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY app-new/backend/package*.json backend/
|
||||
COPY app-new/frontend/package*.json frontend/
|
||||
COPY backend/package*.json backend/
|
||||
COPY frontend/package*.json frontend/
|
||||
RUN cd backend && npm ci
|
||||
RUN cd frontend && npm ci
|
||||
|
||||
COPY app-new .
|
||||
COPY . .
|
||||
|
||||
RUN cd backend && npm run build
|
||||
RUN cd frontend && npm run build
|
||||
|
||||
Reference in New Issue
Block a user