wasdf
This commit is contained in:
1 parent
efecc500c4
commit
cd45c5d98f
24 files changed
+689
-281
No files matched your search
+2
-1
@@ -10,12 +10,13 @@ RUN npm ci --no-audit --no-fund
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# The contact handler's production dependencies (nodemailer only).
|
||||
# The form handler and its production dependencies (nodemailer, altcha-lib).
|
||||
FROM node:22-alpine AS contact
|
||||
WORKDIR /srv/contact
|
||||
COPY server/package.json server/package-lock.json ./
|
||||
RUN npm ci --omit=dev --no-audit --no-fund
|
||||
COPY server/contact.mjs ./
|
||||
COPY server/mail ./mail
|
||||
|
||||
# Serve dist/ with nginx; POST /contact goes to the handler on 127.0.0.1:3000.
|
||||
FROM nginx:1.27-alpine AS runtime
|
||||
|
||||
Reference in new issue
Block a user