generated from Templates/Baseline
debug Dockerfile
This commit is contained in:
parent
f99aa255dd
commit
58fc213f4a
|
@ -1,15 +1,12 @@
|
|||
FROM oven/bun:1 as builder
|
||||
|
||||
USER bun
|
||||
COPY package*.json bun.lockb /app
|
||||
WORKDIR /app
|
||||
COPY --chown=bun:bun package*.json bun.lockb ./
|
||||
ENV NODE_ENV=production
|
||||
RUN bun install --frozen-lockfile \
|
||||
&& bun run --vite docs:build
|
||||
|
||||
FROM caddy:2.7.6-alpine as prod
|
||||
|
||||
COPY --from=builder /app/docs/.vitepress/dist /arkanum-docs/
|
||||
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:80/ || exit 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user