Skip to content
Snippets Groups Projects
Commit 034af9ab authored by Benedikt's avatar Benedikt
Browse files

added uvicorn as requirements

parent 3db85a6b
No related branches found
No related tags found
No related merge requests found
FROM python:3.10
ENV GIT_SSL_NO_VERIFY=1
# Set the environment variable for the HTTP proxy
#ENV http_proxy="http://webproxy.bs.ptb.de:8080"
#ENV https_proxy="http://webproxy.bs.ptb.de:8080"
# Set the environment variable for the NO_PROXY
# This ensures that the proxy is not used for ptb.de
#ENV no_proxy="ptb.de"
RUN git clone https://dockerPull:F7yKR6xRkas7c8MyDQtj@gitlab1.ptb.de/digitaldynamicmeasurement/dcc_XMLJSONConvGUI.git
#
RUN pip install --no-cache-dir --upgrade -r ./dcc_XMLJSONConvGUI/requirements.txt
#RUN pip install --proxy http://192.53.103.119:8080 --no-cache-dir --upgrade -r /code/requirements.txt
#
EXPOSE 8000
EXPOSE 5010
#
CMD ["uvicorn", "dcc_server:app", "--host", "0.0.0.0", "--port", "8000", "--root-path", "/dcc_rest_server"]
#CMD ["bokeh", "serve","--show","dcc_XMLJSONConvGUI/dcc_XMLJSONConvGUI.py", "--allow-websocket-origin","*","--port","5010"]
......@@ -3,4 +3,5 @@ fastapi~=0.104.1
pydantic~=2.5.1
bokeh~=3.3.1
requests~=2.31.0
tornado~=6.3.3
\ No newline at end of file
tornado~=6.3.3
uvicorn~=0.24.0.post1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment