From a59474d8dedf31ebec01f75563d6613bbcb98715 Mon Sep 17 00:00:00 2001 From: germondai Date: Fri, 26 Jun 2026 20:42:01 +0200 Subject: [PATCH] fix(docker): use relative paths in web and docs Dockerfiles for per-directory build context --- apps/docs/Dockerfile | 6 +++--- apps/web/Dockerfile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/docs/Dockerfile b/apps/docs/Dockerfile index dc91115..58af0f8 100644 --- a/apps/docs/Dockerfile +++ b/apps/docs/Dockerfile @@ -5,16 +5,16 @@ RUN apk add --no-cache git WORKDIR /app -COPY apps/docs/package.json ./package.json +COPY package.json ./ RUN bun install -COPY apps/docs/ ./ +COPY . ./ RUN bun run build FROM nginx:alpine AS runner COPY --from=builder /app/.vitepress/dist /usr/share/nginx/html -COPY apps/docs/nginx.conf /etc/nginx/conf.d/default.conf +COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 59a9f94..522c3e4 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -2,16 +2,16 @@ FROM oven/bun:1.3.14-alpine AS builder WORKDIR /app -COPY apps/web/package.json ./ +COPY package.json ./ RUN bun --bun install -COPY apps/web/ ./ +COPY . ./ RUN bunx --bun nuxt generate FROM nginx:alpine AS runner COPY --from=builder /app/.output/public /usr/share/nginx/html -COPY apps/web/nginx.conf /etc/nginx/conf.d/default.conf +COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80