generated from Templates/Baseline
debug build
This commit is contained in:
parent
adede51d79
commit
d634b69834
|
@ -1,17 +1,17 @@
|
||||||
FROM oven/bun:1 as builder
|
FROM oven/bun:1 as builder
|
||||||
|
|
||||||
USER bun
|
#USER bun
|
||||||
|
#COPY --chown=bun:bun package*.json bun.lockb /app/
|
||||||
COPY --chown=bun:bun package*.json bun.lockb /app/
|
COPY . /app
|
||||||
COPY --chown=bun:bun . /app/
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
RUN bun install --frozen-lockfile
|
RUN bun install --frozen-lockfile
|
||||||
RUN bun run --vite docs:build
|
RUN bun run --vite docs:build && \
|
||||||
|
ls -la
|
||||||
|
|
||||||
FROM caddy:2.7.6-alpine as prod
|
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
|
COPY Caddyfile /etc/caddy
|
||||||
HEALTHCHECK --interval=15s --timeout=3s \
|
HEALTHCHECK --interval=15s --timeout=3s \
|
||||||
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||||
|
|
Loading…
Reference in New Issue