SuperKart-UI-Frontend / Dockerfile
sahasrm06's picture
Streamlit frontend via Docker
5c4dc1d
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 streamlit_app.py ./
# Spaces expects the app on port 7860
ENV PORT=7860
EXPOSE 7860
CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]