Create Dockerfile.cuda

This commit is contained in:
McCloudS
2023-10-23 14:21:59 -06:00
committed by GitHub
parent df4a34d8d8
commit 82b742f8d7

13
Dockerfile.cuda Normal file
View File

@@ -0,0 +1,13 @@
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
WORKDIR /subgen
RUN apt-get update && apt-get -y install python3 python3-pip ffmpeg
ENV PYTHONUNBUFFERED 1
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
CMD [ "python3", "-u", "./subgen.py" ]
EXPOSE 8090