Fix Platform frontend Docker build paths
This commit is contained in:
@@ -2,11 +2,10 @@ FROM node:22-alpine AS build
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY platform/frontend/package.json platform/frontend/package-lock.json ./
|
COPY platform/frontend/package*.json ./
|
||||||
|
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY platform/frontend/ .
|
COPY platform/frontend/ ./
|
||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
@@ -15,7 +14,7 @@ FROM nginx:alpine
|
|||||||
|
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
COPY deploy/platform-nginx.conf /etc/nginx/conf.d/default.conf
|
COPY platform-nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user