Skip to content
Snippets Groups Projects
dockerfile 891 B
Newer Older
Benedikt's avatar
Benedikt committed
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","--prefix","dsi-parser-frontend"]