mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-01-03 15:19:58 +01:00
Update Dockerfile
This commit is contained in:
parent
087b5bffa1
commit
b959dcf21b
|
|
@ -60,4 +60,6 @@ RUN chmod u+x /docker/entrypoint.sh && cp /docker/extra_model_paths.yaml ${ROOT}
|
|||
ENV NVIDIA_VISIBLE_DEVICES=all PYTHONPATH="${PYTHONPATH}:${PWD}" CLI_ARGS=""
|
||||
EXPOSE 7860
|
||||
ENTRYPOINT ["/docker/entrypoint.sh"]
|
||||
CMD python -u main.py --listen --port 7860 ${CLI_ARGS}
|
||||
#CMD python -u main.py --listen --port 7860 ${CLI_ARGS}
|
||||
CMD sh -c "python3 -c 'import os; print(f\"Running as UID={os.getuid()}, GID={os.getgid()}\")' && python -u main.py --listen --port 7860 ${CLI_ARGS}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue