Skip to content

Commit 5be4545

Browse files
committed
added docker-compose.yaml and updated README.md
1 parent 696c19b commit 5be4545

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ pyenv install 3.11.3
5252
docker run -d -p 8080:8080 --name pastepyprod mrsunglasses/pastepy
5353
```
5454

55+
- **Using docker-compose**:
56+
You can also use docker-compose to run the project locally by running the following command:
57+
```bash
58+
docker-compose up -d
59+
```
60+
5561
## Local setup 🛠️ without Docker 🐳
5662

5763
### Setting Up the Project with PDM

docker-compose.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: '3.8'
2+
3+
services:
4+
myapp:
5+
build:
6+
context: .
7+
target: builder
8+
ports:
9+
- "8080:8080"
10+
command: ["pdm", "run", "start"]

0 commit comments

Comments
 (0)