From 9ef48353441fc5ad2c96a8a707232ba5ad3c1c72 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Sat, 24 May 2025 10:34:30 -0300 Subject: [PATCH 1/2] docs(readme): update frontend configuration section to reflect correct .env file name --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f8a16a6..c75cbd60 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ cp .env.example .env # Edit .env with your API URL (default: http://localhost:8000) ``` -The frontend `.env.local` should contain: +The frontend `.env` should contain: ```env NEXT_PUBLIC_API_URL=http://localhost:8000 @@ -354,7 +354,7 @@ EMAIL_PROVIDER="sendgrid" # Options: "sendgrid" or "smtp" ENCRYPTION_KEY="your-encryption-key" ``` -### Frontend Configuration (.env.local file) +### Frontend Configuration (.env file) ```bash # API Configuration From 4e1f663787884ffe79811b18a8e0e43d78a0ef55 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Sat, 24 May 2025 10:42:34 -0300 Subject: [PATCH 2/2] chore(frontend): update Dockerfile to use --no-frozen-lockfile for pnpm install --- frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 1560e70b..9081d6a0 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -11,7 +11,7 @@ RUN npm install -g pnpm # Install dependencies first (caching) COPY package.json pnpm-lock.yaml ./ -RUN pnpm install --frozen-lockfile +RUN pnpm install --no-frozen-lockfile # Instalar explicitamente o next-runtime-env RUN pnpm add next-runtime-env @@ -37,7 +37,7 @@ RUN npm install -g pnpm # Install production dependencies only COPY package.json pnpm-lock.yaml ./ -RUN pnpm install --prod --frozen-lockfile +RUN pnpm install --prod --no-frozen-lockfile # Instalar explicitamente o next-runtime-env na produção RUN pnpm add next-runtime-env