From 58fc213f4aa8c97ccaa763fdf364b60528b18549 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Fri, 26 Apr 2024 12:26:07 +0200 Subject: [PATCH] debug Dockerfile --- Dockerfile.vitepress | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile.vitepress b/Dockerfile.vitepress index 2f2bf58..2002fc2 100644 --- a/Dockerfile.vitepress +++ b/Dockerfile.vitepress @@ -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