Spaces:
Sleeping
Sleeping
FROM python:3.9-slim-bullseye | |
# install packages | |
RUN set -x && \ | |
apt-get update -y && \ | |
apt-get upgrade -y && \ | |
apt install -y --no-install-recommends \ | |
git\ | |
wget\ | |
build-essential \ | |
apt-utils \ | |
ca-certificates \ | |
curl \ | |
software-properties-common \ | |
libopencv-dev \ | |
python3-dev \ | |
python3-pip \ | |
python3-setuptools \ | |
python3-venv \ | |
cmake \ | |
swig \ | |
wget \ | |
unzip \ | |
screen \ | |
nano \ | |
lxc \ | |
iptables \ | |
ca-certificates \ | |
libfftw3-dev \ | |
expat \ | |
libgomp1 | |
COPY . /app | |
WORKDIR /app | |
#Install necessary packages from requirements.txt with no cache dir allowing for installation on machine with very little memory on board | |
RUN pip install --upgrade pip | |
RUN pip --no-cache-dir install -r requirements.txt | |
#Exposing the default streamlit port | |
EXPOSE 8501 | |
#Running the streamlit app | |
# ENTRYPOINT ["streamlit", "run", "--server.maxUploadSize=5"] | |
# CMD ["System_Overview.py"] |