|
|
@@ -1,19 +1,21 @@
|
|
|
-FROM node:24-alpine AS builder
|
|
|
+# FROM node:24-alpine AS builder
|
|
|
|
|
|
-WORKDIR /app
|
|
|
+# WORKDIR /app
|
|
|
|
|
|
-COPY package.json ./
|
|
|
+# COPY package.json ./
|
|
|
|
|
|
-RUN npm install -g pnpm && pnpm install
|
|
|
+# RUN npm install -g pnpm && pnpm install
|
|
|
|
|
|
-COPY . .
|
|
|
+# COPY . .
|
|
|
|
|
|
-RUN pnpm build
|
|
|
+# RUN pnpm build
|
|
|
|
|
|
|
|
|
FROM nginx:stable-alpine
|
|
|
|
|
|
-COPY --from=builder /app/dist /usr/share/nginx/html
|
|
|
+# COPY --from=builder /app/dist /usr/share/nginx/html
|
|
|
+
|
|
|
+COPY ./dist /usr/share/nginx/html
|
|
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|