AutoScholar / Dockerfile
Lumiin0us
add Dockerfile and requirements for HuggingFace deployment
a82959f
raw
history blame contribute delete
328 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["streamlit", "run", "app/streamlit.py", \
"--server.port=7860", \
"--server.address=0.0.0.0"]