feat: update Dockerfile and Makefile for improved deployment; add integration testing instructions and version endpoint
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 33s
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 33s
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#
|
||||
#
|
||||
|
||||
FROM python:3.12
|
||||
|
||||
@@ -13,4 +15,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
|
||||
COPY ./*.py /code/
|
||||
|
||||
CMD ["python3", "papi.py", "--port", "8912"]
|
||||
CMD ["uvicorn", "papi:app","--port", "8912","--host","0.0.0.0"]
|
||||
|
||||
Reference in New Issue
Block a user