Aimeetapplication / Dockerfile.worker
prashantdubeypng
Deploy Aimeet to HuggingFace Spaces
4db0a21
raw
history blame contribute delete
572 Bytes
FROM python:3.11-slim
# Set environment variables
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=1
# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
postgresql-client \
&& rm -rf /var/lib/apt/lists/*
# Set work directory
WORKDIR /app
# Install Python dependencies
COPY requirements.txt .
RUN pip install --upgrade pip && \
pip install -r requirements.txt
# Copy project
COPY videocaller/ ./videocaller/
# Run qcluster worker
WORKDIR /app/videocaller
CMD ["python", "manage.py", "qcluster"]