Merge branch 'release/0.1.0'
This commit is contained in:
commit
fe778b3eb9
@ -194,7 +194,7 @@ cp .env.example .env
|
|||||||
# Edit .env with your API URL (default: http://localhost:8000)
|
# Edit .env with your API URL (default: http://localhost:8000)
|
||||||
```
|
```
|
||||||
|
|
||||||
The frontend `.env.local` should contain:
|
The frontend `.env` should contain:
|
||||||
|
|
||||||
```env
|
```env
|
||||||
NEXT_PUBLIC_API_URL=http://localhost:8000
|
NEXT_PUBLIC_API_URL=http://localhost:8000
|
||||||
@ -354,7 +354,7 @@ EMAIL_PROVIDER="sendgrid" # Options: "sendgrid" or "smtp"
|
|||||||
ENCRYPTION_KEY="your-encryption-key"
|
ENCRYPTION_KEY="your-encryption-key"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Frontend Configuration (.env.local file)
|
### Frontend Configuration (.env file)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# API Configuration
|
# API Configuration
|
||||||
|
@ -11,7 +11,7 @@ RUN npm install -g pnpm
|
|||||||
|
|
||||||
# Install dependencies first (caching)
|
# Install dependencies first (caching)
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --no-frozen-lockfile
|
||||||
|
|
||||||
# Instalar explicitamente o next-runtime-env
|
# Instalar explicitamente o next-runtime-env
|
||||||
RUN pnpm add next-runtime-env
|
RUN pnpm add next-runtime-env
|
||||||
@ -37,7 +37,7 @@ RUN npm install -g pnpm
|
|||||||
|
|
||||||
# Install production dependencies only
|
# Install production dependencies only
|
||||||
COPY package.json pnpm-lock.yaml ./
|
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
|
# Instalar explicitamente o next-runtime-env na produção
|
||||||
RUN pnpm add next-runtime-env
|
RUN pnpm add next-runtime-env
|
||||||
|
Loading…
Reference in New Issue
Block a user