Added Dockerfile for app; moved requirements.txt into app

This commit is contained in:
ellwoodb 2024-07-23 20:46:42 +02:00
parent 3c4946f165
commit 8eba882ed7
2 changed files with 10 additions and 0 deletions

10
app/Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM python:3.10
WORKDIR /stocknear-backend
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--reload"]