Fix container startup failure due to CMD path error
This commit is contained in:
2
Dockerfile
Normal file → Executable file
2
Dockerfile
Normal file → Executable file
@@ -8,6 +8,6 @@ ENV PYTHONUNBUFFERED 1
|
||||
|
||||
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
|
||||
|
||||
CMD [ "python3", "-u", "./subgen.py" ]
|
||||
CMD [ "python3", "-u", "subgen/subgen.py" ]
|
||||
|
||||
EXPOSE 8090
|
||||
|
||||
@@ -8,6 +8,6 @@ ENV PYTHONUNBUFFERED 1
|
||||
|
||||
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
|
||||
|
||||
CMD [ "python3", "-u", "./subgen.py" ]
|
||||
CMD [ "python3", "-u", "subgen/subgen.py" ]
|
||||
|
||||
EXPOSE 8090
|
||||
|
||||
Reference in New Issue
Block a user