view NewTests/Authorization/Dockerfile @ 802:8dfe8f2590b0 pixel-anon

pixel anon
author Alain Mazy <am@orthanc.team>
date Tue, 25 Mar 2025 15:30:05 +0100
parents 0649a19df194
children
line wrap: on
line source

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"]