annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
577
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
1 FROM python:3.11
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
2
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
3 RUN pip install uvicorn
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
4 RUN pip install fastapi==0.103.0
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
5
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
6 RUN mkdir /auth-service
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
7 COPY *.py /auth-service
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
8
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
9 WORKDIR /auth-service
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
10 ENTRYPOINT [ "uvicorn", "auth_service:app", "--host", "0.0.0.0", "--port", "8020"]
0649a19df194 new tests for auth-service
Alain Mazy <am@osimis.io>
parents:
diff changeset
11