Mercurial > hg > orthanc-tests
diff NewTests/Authorization/Dockerfile @ 577:0649a19df194
new tests for auth-service
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 08 Sep 2023 12:03:50 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NewTests/Authorization/Dockerfile Fri Sep 08 12:03:50 2023 +0200 @@ -0,0 +1,11 @@ +FROM python:3.11 + +RUN pip install uvicorn +RUN pip install fastapi==0.103.0 + +RUN mkdir /auth-service +COPY *.py /auth-service + +WORKDIR /auth-service +ENTRYPOINT [ "uvicorn", "auth_service:app", "--host", "0.0.0.0", "--port", "8020"] +