Initial commit
Some checks failed
ci / docker (push) Failing after 1m17s

This commit is contained in:
2024-10-03 11:29:39 +02:00
commit 7dbb1418e9
7 changed files with 70 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3.12
WORKDIR /app
COPY ./requirements.txt .
RUN pip install --no-cache-dir --quiet -r requirements.txt
COPY ./my_api ./my_api
CMD ["fastapi", "run", "my_api/app.py"]