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