diff --git a/Dockerfile b/Dockerfile index 3a526ee..a9fba48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,8 +78,11 @@ COPY frontend/services /app/frontend/services/ COPY frontend/styles /app/frontend/styles/ COPY frontend/types /app/frontend/types/ COPY frontend/utils /app/frontend/utils/ +# Install frontend dependencies +RUN cd /app/frontend && pnpm install --frozen-lockfile - +# Build frontend for production +RUN cd /app/frontend && NODE_ENV=production pnpm run build # Build frontend for production RUN cd /app/frontend && NODE_ENV=production pnpm run build diff --git a/frontend/styles/globals.css b/frontend/styles/globals.css index 21f7e16..22501dc 100644 --- a/frontend/styles/globals.css +++ b/frontend/styles/globals.css @@ -821,7 +821,7 @@ body { .user-message-markdown, .assistant-message-markdown { - @apply w-full overflow-wrap-break-word; /* Added overflow-wrap */ + @apply w-full break-words; /* Added overflow-wrap */ } /* Apply styles to markdown elements directly */