init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
FROM node:22-bookworm AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY apps/frontend/package.json apps/frontend/package-lock.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY apps/frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
FROM caddy:2-alpine
|
||||
|
||||
COPY deploy/caddy/Caddyfile /etc/caddy/Caddyfile
|
||||
COPY --from=builder /app/dist /srv
|
||||
Reference in New Issue
Block a user