Skip to content

Commit ac701c6

Browse files
author
Jack
committed
both containers now spin up
1 parent 5958b03 commit ac701c6

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.dockerignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Ignore Python cache files
2+
__pycache__/
3+
*.pyc
4+
*.pyo
5+
*.pyd
6+
7+
# Ignore pytest cache
8+
.pytest_cache/
9+
10+
# Ignore virtual environments
11+
env/
12+
venv/
13+
14+
# Ignore Git repo
15+
.git/
16+
.gitignore
17+
18+
# Ignore Docker-related stuff
19+
Dockerfile
20+
docker-compose.yml
21+
22+
# Ignore MacOS system files
23+
*.DS_Store
24+

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ RUN pip install --no-cache-dir -r requirements.txt
88

99
COPY ./backend /app/backend
1010

11-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
11+
CMD ["uvicorn", "main:app", "--reload"]
1212

0 commit comments

Comments
 (0)