Skip to content

Commit 6855843

Browse files
fix: python is python3
1 parent e65d4ec commit 6855843

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ ENV NVIDIA_VISIBLE_DEVICES=all
7575
ENV CLI_ARGS=""
7676
EXPOSE 7860
7777
ENTRYPOINT ["/docker/entrypoint.sh"]
78-
CMD ["python", "-u", "webui.py", "--listen", "--port", "7860"]
78+
CMD ["python3", "-u", "webui.py", "--listen", "--port", "7860"]

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ find "${ROOT}/scripts/" -maxdepth 1 -type l -delete
1313
cp -vrfTs /data/config/auto/scripts/ "${ROOT}/scripts/"
1414

1515
# Set up config file
16-
python /docker/config.py /data/config/auto/config.json
16+
python3 /docker/config.py /data/config/auto/config.json
1717

1818
if [ ! -f /data/config/auto/ui-config.json ]; then
1919
echo '{}' >/data/config/auto/ui-config.json
@@ -72,7 +72,7 @@ for installscript in "${list[@]}"; do
7272
echo "Skipping disabled extension ($EXTNAME)"
7373
continue
7474
fi
75-
PYTHONPATH=${ROOT} python "$installscript"
75+
PYTHONPATH=${ROOT} python3 "$installscript"
7676
done
7777

7878
if [ -f "/data/config/auto/startup.sh" ]; then

0 commit comments

Comments
 (0)