diff --git a/.dockerignore b/.dockerignore index 3488a2bd..3997f74d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -18,7 +18,7 @@ !vite.config.ts !postcss.config.js !.yarn/releases -!codex-ui +!@codexteam/ui/ # Ignore unnecessary files inside allowed directories **/*~ diff --git a/Dockerfile b/Dockerfile index 6ce13329..fe774b86 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,14 @@ RUN apk add --no-cache libc6-compat WORKDIR /app COPY package.json yarn.lock .yarnrc.yml ./ COPY .yarn/releases ./.yarn/releases -COPY ./codex-ui/package.json codex-ui/ +COPY ./@codexteam/ui/package.json @codexteam/ui/ RUN yarn install FROM node:20-alpine AS builder WORKDIR /app COPY . . COPY --from=deps /app/node_modules ./node_modules -COPY --from=deps /app/codex-ui/node_modules ./codex-ui/node_modules +COPY --from=deps /app/@codexteam/ui/node_modules ./@codexteam/ui/node_modules RUN yarn build FROM nginx:bullseye AS runner