SLM-MONITIR-NOV-2025 / Dockerfile
mahesh1209's picture
Update Dockerfile
382dbe8 verified
raw
history blame contribute delete
350 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY backend/requirements.txt /app/backend/requirements.txt
RUN pip install --no-cache-dir -r /app/backend/requirements.txt
# Copy backend and frontend
COPY backend /app/backend
COPY frontend /app/frontend
EXPOSE 7860
CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "backend.app:app"]