Add caddyfile and emergency docker-compose
Some checks failed
Portfolio/pipeline/head There was a failure building this commit

This commit is contained in:
2026-01-08 12:56:54 +01:00
parent 9f7c4dbb2e
commit b7443eb21a
3 changed files with 17 additions and 1 deletions

View File

@@ -10,11 +10,13 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
# Copy all
# Copy all and build
COPY . .
RUN pnpm build
# --- DEPLOY ---
FROM caddy:alpine
COPY --from=build /app/dist /usr/share/caddy
COPY Caddyfile /etc/caddy/Caddyfile
EXPOSE 80