view NewTests/Authorization/Dockerfile @ 751:4a97afe7d8bc

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Dec 2024 10:51:41 +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"]