|
@@ -3,12 +3,12 @@ WORKDIR /app/kpt-system-web
|
|
COPY . .
|
|
COPY . .
|
|
RUN pnpm install
|
|
RUN pnpm install
|
|
RUN pnpm build
|
|
RUN pnpm build
|
|
|
|
+RUN ls -l && pwd
|
|
|
|
|
|
|
|
|
|
FROM nginx:alpine as prod
|
|
FROM nginx:alpine as prod
|
|
-
|
|
|
|
WORKDIR /app/kpt-system-web
|
|
WORKDIR /app/kpt-system-web
|
|
-
|
|
|
|
|
|
+RUN ls -l && pwd
|
|
COPY --from=build ./dist/ /usr/share/nginx/html/
|
|
COPY --from=build ./dist/ /usr/share/nginx/html/
|
|
COPY --from=build ./nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=build ./nginx.conf /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80
|
|
EXPOSE 80
|