Files
arkanum/Dockerfile.vitepress
renovate-bot 71b6c80eaf
All checks were successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/release-helper Pipeline was successful
chore(deps): update oven/bun docker tag to v1.2.12 (#176)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [oven/bun](https://github.com/oven-sh/bun) | stage | patch | `1.2.9` -> `1.2.12` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4wLjAtbmV4dC4xIiwidXBkYXRlZEluVmVyIjoiNDAuMTAuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: #176
Reviewed-by: OCram85 <marco.blessing@googlemail.com>
Co-authored-by: renovate-bot <renovate@ocram85.com>
Co-committed-by: renovate-bot <renovate@ocram85.com>
2025-05-08 11:54:41 +02:00

22 lines
507 B
Docker

FROM oven/bun:1.2.12 AS builder
ARG CI
ARG CI_COMMIT_PULL_REQUEST
COPY . /app
WORKDIR /app
ENV NODE_ENV=production
# frozen lockfile cant be used when deps gets updated by renovate
#RUN bun install --frozen-lockfile
RUN bun install
RUN bun run --vite docs:build
FROM caddy:2.10.0-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