Revert "build"

This reverts commit b6bc5391cf.
This commit is contained in:
2025-11-01 02:07:58 +01:00
parent b6bc5391cf
commit 09492f452f
3 changed files with 171 additions and 123 deletions
+10 -1
View File
@@ -1,9 +1,18 @@
# syntax=docker/dockerfile:1
FROM node:20-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --no-audit --no-fund
COPY . .
RUN npm run build
FROM nginx:alpine
WORKDIR /usr/share/nginx/html
COPY dist ./
COPY --from=build /app/dist ./
ENV API_PROXY_PASS=""