Dockerfile 387 B

12345678910
  1. FROM python:3.8-slim-buster
  2. WORKDIR /app
  3. COPY requirements.txt ./requirements.txt
  4. RUN pip install -r requirements.txt
  5. EXPOSE 8501
  6. COPY . /app
  7. ENTRYPOINT ["streamlit", "run"]
  8. CMD ["./source/main.py", "--browser.serverAddress=0.0.0.0", "--browser.gatherUsageStats=false", "--server.maxUploadSize=20"]
  9. # docker build -t calc-q-factor:latest .
  10. # docker run -p 8501:8501 calc-q-factor:latest