9 lines
268 B
Docker
9 lines
268 B
Docker
FROM nvidia/cuda:12.1.0-runtime-ubuntu22.04 AS base
|
|
ENV PYTHONUNBUFFERED=1
|
|
WORKDIR /app
|
|
COPY requirements.worker.txt .
|
|
RUN apt-get update && apt-get install -y python3-pip ffmpeg espeak-ng
|
|
RUN pip3 install -r requirements.worker.txt
|
|
COPY . .
|
|
CMD ["python3","main.py"]
|