diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..d1dad705479b4caace3b13a4665abc4e2d536f8d --- /dev/null +++ b/dockerfile @@ -0,0 +1,23 @@ +FROM python:3.11 + +# WORKDIR /usr/src/app +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" + +# Install any needed packages specified in requirements.txt +RUN git clone https://dockerPull:Fu7bxBnYeyhq8Xz8seHS@gitlab1.ptb.de/digitaldynamicmeasurement/dsi-parser-frontend + +RUN pip install --proxy=webproxy.bs.ptb.de:8080 --no-cache-dir -r dsi-parser-frontend/requirements.txt + +# RUN pip install --no-cache-dir -r dsi-parser-frontend/requirements.txt +#COPY . . + +EXPOSE 5020 +#WORKDIR ./pydccdisplayer/src +CMD ["bokeh", "serve", "dsi-parser-frontend/", "--port", "5020", "--allow-websocket-origin", "*","--use-xheaders"] diff --git a/readme.md b/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..15b8b1a62982e79b4fd6ce28ac83586a701aa330 --- /dev/null +++ b/readme.md @@ -0,0 +1,4 @@ +## Start +```bash +bokeh serve ./ +```