diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..73f7a82 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# app/Dockerfile + +FROM python:3.7-slim + +EXPOSE ${PORT} + +WORKDIR /app + +RUN apt-get update && apt-get install -y \ + build-essential \ + ffmpeg \ + libsm6 \ + libxext6 \ + curl \ + software-properties-common \ + git \ + && rm -rf /var/lib/apt/lists/* + +RUN git clone https://github.com/wiktorlazarski/head-segmentation.git . + +RUN pip3 install -e . + +ENTRYPOINT exec python -m streamlit run apps/web_checking.py --server.port=$PORT --server.address=0.0.0.0 diff --git a/README.md b/README.md index 769d8e5..878940d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,10 @@ ______________________________________________________________________ +## 🔍 Preview + +Feel free to checkout our Streamlit application at https://head-segmentation-d4mc3a3f3q-lm.a.run.app/ + ## 💎 Installation with `pip` Installation is as simple as running: