Skip to content
Snippets Groups Projects
dockerfile 627 B
Newer Older
Benedikt's avatar
Benedikt committed
FROM python:3.11

# WORKDIR /usr/src/app
ENV GIT_SSL_NO_VERIFY=1
Benedikt's avatar
Benedikt committed
# Install net-tools for ifconfig
RUN apt-get update && \
    apt-get install -y net-tools && \
    rm -rf /var/lib/apt/lists/*
Benedikt's avatar
Benedikt committed
# Install any needed packages specified in requirements.txt
RUN git clone https://gitlab1.ptb.de/digitaldynamicmeasurement/dsi-parser-frontend.git
RUN pip install --no-cache-dir -r dsi-parser-frontend/requirements.txt
Benedikt's avatar
Benedikt committed

EXPOSE 5020
CMD ["dsi-parser-frontend/startkBokehAndPrintIp.sh"]
#CMD ["bokeh", "serve", "dsi-parser-frontend/", "--port", "5020", "--allow-websocket-origin", "*","--use-xheaders","--prefix","dsi-parser-frontend"]