anycoder-a2fd8af4 / streamlit_app.py
Rag9999's picture
Upload streamlit_app.py with huggingface_hub
8c32c8e verified
Raw History Blame Contribute Delete
305 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
USER 1000
EXPOSE 7860
CMD ["streamlit", "run", "streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]