Pārlūkot izejas kodu

Merge pull request #18 from ricet8ur/docked

Add Dockerfile.
Egor 2 gadi atpakaļ
vecāks
revīzija
e5088a23e4
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      Dockerfile

+ 10 - 0
Dockerfile

@@ -0,0 +1,10 @@
+FROM python:3.8-slim-buster
+WORKDIR /app
+COPY requirements.txt ./requirements.txt
+RUN pip install -r requirements.txt
+EXPOSE 8501
+COPY . /app
+ENTRYPOINT ["streamlit", "run"]
+CMD ["./source/main.py"]
+# docker build -t calc-q-factor:latest .
+# docker run -p 8501:8501 calc-q-factor:latest