SuperKartFrontEnd / Dockerfile
sastrysagi's picture
Upload folder using huggingface_hub
a0b1bc1 verified
raw
history blame contribute delete
471 Bytes
FROM python:3.9-slim
# Install system dependencies including wget, tar, and git for Hugging Face's build steps
RUN apt-get update && apt-get install -y \
wget \
tar \
git \
git-lfs \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /opt && chown -R 1000:1000 /opt
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]