FROM python:3.11 # WORKDIR /usr/src/app ENV GIT_SSL_NO_VERIFY=1 # Install net-tools for ifconfig # 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 # Install Supervisor to manage multiple processes RUN pip install supervisor EXPOSE 5020 5021 WORKDIR "/dsi-parser-frontend" # Command to start Supervisor, which handles starting both the Bokeh server and FastAPI CMD ["supervisord", "-c", "supervisord.conf"] #CMD ["bokeh", "serve", "dsi-parser-frontend/", "--port", "5020", "--allow-websocket-origin", "*","--use-xheaders","--prefix","dsi-parser-frontend"]