Dockerfile 277 B

12345678910
  1. FROM python:latest
  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"]
  9. # docker build -t calc-q-factor:latest .
  10. # docker run -p 8501:8501 calc-q-factor:latest