HumbleWolf commited on
Commit
680b1b7
1 Parent(s): dbe8455

fix dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. README.md +1 -0
Dockerfile CHANGED
@@ -14,6 +14,8 @@ RUN pip install --no-cache-dir --upgrade pip
14
 
15
  COPY --chown=user program $HOME/app/program
16
 
 
 
17
  RUN pip3 install --no-cache-dir -r ./program/Fooocus/requirements_versions.txt
18
 
19
  # Set the working directory to content
 
14
 
15
  COPY --chown=user program $HOME/app/program
16
 
17
+ RUN apt-get update && apt-get install libgl1 -y
18
+
19
  RUN pip3 install --no-cache-dir -r ./program/Fooocus/requirements_versions.txt
20
 
21
  # Set the working directory to content
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: green
5
  colorTo: red
6
  sdk: docker
7
  pinned: false
 
8
  ---
9
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorTo: red
6
  sdk: docker
7
  pinned: false
8
+ app_port: 7860
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference