generated from Templates/Baseline
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [oven/bun](https://github.com/oven-sh/bun) | stage | patch | `1.2.3` -> `1.2.4` | --- ### 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:eyJjcmVhdGVkSW5WZXIiOiI0MC4wLjAtbmV4dC4xIiwidXBkYXRlZEluVmVyIjoiNDAuMC4wLW5leHQuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: #168 Reviewed-by: OCram85 <marco.blessing@googlemail.com> Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
18 lines
420 B
Docker
18 lines
420 B
Docker
FROM oven/bun:1.2.4 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.9.1-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
|