medserv / Dockerfile
drkvcsstvn's picture
Update Dockerfile
ec8ab7f verified
raw
history blame contribute delete
560 Bytes
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN python3 -m pip install --no-cache-dir --upgrade pip
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
# Start both the Panel applications and the scheduler in the background
CMD ["bash", "-c", "python3 /code/scheduler.py & panel serve /code/eloszuro.py /code/Cytopathologus.py /code/Labor_vezetes.py --index /code/index.html --address 0.0.0.0 --port 7860 --allow-websocket-origin drkvcsstvn-medserv.hf.space --static-dirs public=/code"]