docs(backend): add Docker instructions
This commit is contained in:
parent
de7da85e7a
commit
89a959a3da
@ -1,5 +1,12 @@
|
|||||||
# Forum Backend
|
# Forum Backend
|
||||||
|
Build and run Docker container:
|
||||||
|
```shell
|
||||||
|
docker build -t forum-backend .
|
||||||
|
docker run --rm -d -p 8000:8000 forum-backend:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Run locally:
|
||||||
|
```shell
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
uvicorn forum:app --reload
|
uvicorn forum:app --reload
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user