annotate NewTests/Authorization/Dockerfile @ 633:7bb22f87fc5b

fix auth test wrt plugin version
author Alain Mazy <am@osimis.io>
date Tue, 19 Mar 2024 08:51:56 +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