StrictEnforcer / Dockerfile
Govams's picture
Update Dockerfile
86c284f verified
raw
history blame contribute delete
437 Bytes
svFROM tensorflow/tensorflow:2.12.1-py3.10
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8501
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]