verifizierung
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
FROM node:22-alpine AS api-builder
|
||||
FROM node:22-alpine AS build-base
|
||||
RUN npm install -g npm@11.16.0 --no-audit --no-fund
|
||||
|
||||
FROM build-base AS api-builder
|
||||
WORKDIR /app
|
||||
COPY listify-api/package*.json ./
|
||||
RUN npm ci --no-audit --no-fund
|
||||
COPY listify-api/ ./
|
||||
RUN npm run build
|
||||
|
||||
FROM node:22-alpine AS web-builder
|
||||
FROM build-base AS web-builder
|
||||
WORKDIR /app
|
||||
COPY listify-client/package*.json ./
|
||||
RUN npm ci --no-audit --no-fund
|
||||
@@ -22,6 +25,7 @@ ENV PORT=3000
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=api-builder /app/dist ./dist
|
||||
COPY --from=api-builder /app/src/mail/templates ./dist/mail/templates
|
||||
|
||||
COPY --from=web-builder /app/dist/listify-client/browser /usr/share/nginx/html
|
||||
COPY docker/nginx.conf /etc/nginx/http.d/default.conf
|
||||
|
||||
Reference in New Issue
Block a user