Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04
|
2 |
RUN useradd -m -u 1000 user
|
3 |
-
USER user
|
4 |
WORKDIR /subgen
|
5 |
|
6 |
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/requirements.txt /subgen/requirements.txt
|
@@ -18,5 +17,5 @@ ENV PYTHONUNBUFFERED=1
|
|
18 |
|
19 |
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/launcher.py /subgen/launcher.py
|
20 |
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen.py /subgen/subgen.py
|
21 |
-
|
22 |
CMD [ "bash", "-c", "python3 -u launcher.py" ]
|
|
|
1 |
FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04
|
2 |
RUN useradd -m -u 1000 user
|
|
|
3 |
WORKDIR /subgen
|
4 |
|
5 |
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/requirements.txt /subgen/requirements.txt
|
|
|
17 |
|
18 |
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/launcher.py /subgen/launcher.py
|
19 |
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen.py /subgen/subgen.py
|
20 |
+
USER user
|
21 |
CMD [ "bash", "-c", "python3 -u launcher.py" ]
|