Skip to content

Commit

Permalink
docs: add docker deployment guide
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtiti committed Sep 5, 2024
1 parent b79c812 commit 29b81d6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,33 @@ Vercel will automatically deploy your project and provide a live URL.
- **[Vercel CLI Documentation](https://vercel.com/docs/cli)**: Find comprehensive information on using the Vercel CLI.
- **[Vercel Documentation](https://vercel.com/docs)**: Access general Vercel documentation and guides.

## 🐳 Docker deployment

## Prerequisites

- **Docker**: Ensure that Docker is installed.

## Deployment Steps

1. **Build the Docker Image**

- From your project directory, build the Docker image by running the following command:

```bash
docker build -t <app-name> .
```

2. **Run the Docker Container**

- After the image is built, run the Docker container with the environment variables.

```bash
docker run -p 5173:5173 --env-file .env <app-name>
```
3. **Access your app:**

- http://localhost:5173

## Development

### 💻 Conventional Commits
Expand Down

0 comments on commit 29b81d6

Please sign in to comment.