Prvotní nástřel fungující aplikace
This commit is contained in:
1 parent
bf379e13ed
commit
12583e6efb
59 files changed
+2194
-1011
No files matched your search
@@ -0,0 +1,10 @@
|
||||
FROM python:3.9
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
||||
|
||||
COPY ./food_service.py /app
|
||||
COPY ./food_api.py /app
|
||||
|
||||
CMD ["uvicorn", "food_api:app", "--host", "0.0.0.0", "--port", "3002"]
|
||||
Reference in new issue
Block a user