Skip to content

Commit

Permalink
> fix perm
Browse files Browse the repository at this point in the history
  • Loading branch information
kebe7jun committed Jan 8, 2025
1 parent 4228aa7 commit 3940af6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ ENV venv_dir -

RUN useradd -U --home /stable-diffusion-webui sd

RUN pip install -r requirements.txt --no-cache-dir
RUN pip install -r requirements.txt --no-cache-dir && \
chmod -R sd:sd /stable-diffusion-webui

# RUN sh -c 'nohup ./webui.sh -f --skip-torch-cuda-test --no-half >/tmp/sd.log &'; \
# start=$(date +%s); \
Expand All @@ -41,4 +42,4 @@ USER sd

ENTRYPOINT ["/usr/local/bin/python", "/stable-diffusion-webui/webui.py"]

CMD ["--listen", "--port", "7860", "--no-download-sd-model"]
CMD ["--listen", "--port", "7860"]

0 comments on commit 3940af6

Please sign in to comment.