garbageredressal / Dockerfile
aditya0929's picture
Initial commit for garbage redressal space
a83d16c
raw
history blame contribute delete
432 Bytes
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Install OS dependencies
RUN apt-get update && apt-get install -y git ffmpeg libsm6 libxext6 && rm -rf /var/lib/apt/lists/*
# Copy files
COPY app ./app
COPY app/requirements.txt .
# Install Python dependencies
RUN pip install --upgrade pip && pip install -r requirements.txt
# Set the entrypoint
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]