From 006d88d1d693f2c7c0c2b390912ccb838983b063 Mon Sep 17 00:00:00 2001 From: GoldenJaden Date: Sat, 24 Feb 2024 01:30:14 +0300 Subject: [PATCH] Add copying codex-ui workspace and add it to gitignore --- .dockerignore | 2 ++ Dockerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/.dockerignore b/.dockerignore index 47349fa3..3488a2bd 100644 --- a/.dockerignore +++ b/.dockerignore @@ -18,8 +18,10 @@ !vite.config.ts !postcss.config.js !.yarn/releases +!codex-ui # Ignore unnecessary files inside allowed directories **/*~ **/*.log **/.DS_Store +**/README.md diff --git a/Dockerfile b/Dockerfile index 16494da6..6ce13329 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ 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 RUN yarn build FROM nginx:bullseye AS runner