arkanum/Dockerfile.vitepress
OCram85 ea513c90ac
All checks were successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/docs Pipeline was successful
ci/woodpecker/tag/ci Pipeline was successful
prepare release v1.6.0 (#122)
### 📖 Summary

- updatee changelog
- add blog post
- update guides

### 📑 Test Plan

 CI pipeline tests (Default)

### 💬 Details

_No response_

### 📚 Additional Notes

_No response_

Reviewed-on: #122
2024-08-01 10:46:28 +02:00

18 lines
416 B
Docker

FROM oven/bun:1 AS builder
ARG CI
ARG CI_COMMIT_PULL_REQUEST
COPY . /app
WORKDIR /app
ENV NODE_ENV=production
RUN bun install --frozen-lockfile
RUN bun run --vite docs:build
FROM caddy:2.8.4-alpine AS prod
COPY --from=builder /app/docs/.vitepress/dist/ /arkanum-docs/
COPY Caddyfile /etc/caddy
HEALTHCHECK --interval=15s --timeout=3s \
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1