view NewTests/Authorization/Dockerfile @ 598:b9ae7c59fee9

new concurrency test
author Alain Mazy <am@osimis.io>
date Wed, 10 Jan 2024 15:19:46 +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"]