Spaces:
Paused
Paused
Commit ·
81727dc
1
Parent(s): d77637e
fix dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -14,8 +14,6 @@ RUN pip3 install numpy
|
|
| 14 |
|
| 15 |
RUN pip3 install opencv-python
|
| 16 |
|
| 17 |
-
RUN pip3 install Pillow
|
| 18 |
-
|
| 19 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install\
|
| 20 |
libgl1\
|
| 21 |
libgl1-mesa-glx \
|
|
@@ -24,6 +22,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install\
|
|
| 24 |
|
| 25 |
RUN apt-get update && apt-get install libgl1 -y
|
| 26 |
|
|
|
|
|
|
|
| 27 |
# Set the working directory to content
|
| 28 |
|
| 29 |
COPY program ./program
|
|
@@ -39,8 +39,6 @@ RUN chmod o-rwx /program/Fooocus
|
|
| 39 |
# Set the working directory to contentFooocus
|
| 40 |
WORKDIR /program/Fooocus
|
| 41 |
|
| 42 |
-
RUN pip3 install --no-cache-dir -r requirements_versions.txt
|
| 43 |
-
|
| 44 |
RUN mkdir ./outputs
|
| 45 |
|
| 46 |
# Run the entry_with_update.py script with the specified arguments
|
|
|
|
| 14 |
|
| 15 |
RUN pip3 install opencv-python
|
| 16 |
|
|
|
|
|
|
|
| 17 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install\
|
| 18 |
libgl1\
|
| 19 |
libgl1-mesa-glx \
|
|
|
|
| 22 |
|
| 23 |
RUN apt-get update && apt-get install libgl1 -y
|
| 24 |
|
| 25 |
+
RUN pip3 install --no-cache-dir -r ./program/Fooocus/requirements_versions.txt
|
| 26 |
+
|
| 27 |
# Set the working directory to content
|
| 28 |
|
| 29 |
COPY program ./program
|
|
|
|
| 39 |
# Set the working directory to contentFooocus
|
| 40 |
WORKDIR /program/Fooocus
|
| 41 |
|
|
|
|
|
|
|
| 42 |
RUN mkdir ./outputs
|
| 43 |
|
| 44 |
# Run the entry_with_update.py script with the specified arguments
|