annotate NewTests/Authorization/Dockerfile @ 617:6ba2ff41ea52

fxi
author Alain Mazy <am@osimis.io>
date Mon, 05 Feb 2024 14:24:36 +0100
parents 0649a19df194
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