Hy_prediction / Docker
sudhirpgcmma02's picture
Upload folder using huggingface_hub
d863219 verified
raw
history blame contribute delete
447 Bytes
# Base image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy everything
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose ports for Flask (5000) and Streamlit (8501)
EXPOSE 7860
EXPOSE 7860
# Run both Flask and Streamlit together
CMD ["bash", "-c", "python /content/model/backend & streamlit run /content/model/frontend/Frontend_app.py --server.port=7860 --server.address=0.0.0.0"]