refactor: add nestjs

This commit is contained in:
Mauricio Siu 2024-06-30 20:40:18 -06:00
parent e43931a02e
commit 2c45314bd6

View File

@ -7,17 +7,10 @@ This repository contains an example of NestJS application that is deployed on Do
- Repository: `https://github.com/Dokploy/examples.git` - Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main` - Branch: `main`
- Build path: `/nestjs` - Build path: `/nestjs`
2. **Click on Deploy**:
2. **Add Environment Variables**:
- Navigate to the "Environments" tab and add the following variable:
```plaintext
NIXPACKS_START_CMD="pnpm run preview"
```
3. **Click on Deploy**:
- Deploy your application by clicking the deploy button. - Deploy your application by clicking the deploy button.
4. **Generate a Domain**: 3. **Generate a Domain**:
- Click on generate domain button. - Click on generate domain button.
- A new domain will be generated for you. - A new domain will be generated for you.
- You can use this domain to access your application. - You can use this domain to access your application.