-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove extra var, filter out pytorch from requirements.txt
- Loading branch information
Showing
1 changed file
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
FROM pytorch2.0_gfx1100:latest | ||
|
||
ARG CLONE_REPO=AUTOMATIC1111/stable-diffusion-webui | ||
WORKDIR /srv | ||
RUN echo Cloning $CLONE_REPO && git clone https://github.com/$CLONE_REPO webui | ||
RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui webui | ||
WORKDIR /srv/webui | ||
RUN git config --global --add safe.directory '*' \ | ||
&& pip install -r requirements.txt | ||
|
||
# Run the app | ||
RUN git config --global --add safe.directory '*' | ||
RUN sh -c "cat requirements.txt | grep -vw torch > /tmp/requirements.txt && mv /tmp/requirements.txt ./requirements.txt" | ||
EXPOSE 7860/tcp | ||
# CMD python3 launch.py --listen | ||
CMD "/bin/bash" | ||
CMD python3 launch.py --listen |