superkart-forecasting / Dockerfile
nv185001's picture
Create Dockerfile
111baa5 verified
raw
history blame contribute delete
325 Bytes
# Use lightweight Python image
FROM python:3.10-slim
# Set working directory
WORKDIR /code
# Copy files
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
COPY best_pipeline.joblib .
# Expose port
EXPOSE 7860
# Start the service
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]