Update Dockerfile.cuda
This commit is contained in:
@@ -2,13 +2,12 @@ FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
|
|||||||
|
|
||||||
WORKDIR /subgen
|
WORKDIR /subgen
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install python3 python3-pip ffmpeg curl
|
RUN apt-get update && apt-get -y install python3 python3-pip ffmpeg
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/bootstrap.sh /bootstrap.sh
|
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
|
||||||
RUN chmod +x /bootstrap.sh
|
|
||||||
|
|
||||||
CMD [ "/bootstrap.sh" ]
|
CMD [ "python3", "-u", "./subgen.py" ]
|
||||||
|
|
||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
|
|||||||
Reference in New Issue
Block a user