Munzali commited on
Commit
a49c947
1 Parent(s): eb96da4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -38,6 +38,7 @@ RUN pyenv install $PYTHON_VERSION && \
38
  datasets \
39
  huggingface-hub "protobuf<4" "click<8.1"
40
 
 
41
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
42
 
43
  # Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
@@ -51,6 +52,7 @@ RUN git clone https://github.com/lllyasviel/Fooocus . && \
51
  pip install --no-cache-dir xformers==0.0.20 triton==2.0.0 torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118 && \
52
  pip install --no-cache-dir -r requirements_versions.txt
53
 
 
54
 
55
 
56
  #RUN sed -i "s|def load_auth_data.*|def load_auth_data() pass|" /home/user/app/modules/auth.py
 
38
  datasets \
39
  huggingface-hub "protobuf<4" "click<8.1"
40
 
41
+
42
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
43
 
44
  # Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
 
52
  pip install --no-cache-dir xformers==0.0.20 triton==2.0.0 torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118 && \
53
  pip install --no-cache-dir -r requirements_versions.txt
54
 
55
+ COPY auth.py $HOME/modules/auth.py
56
 
57
 
58
  #RUN sed -i "s|def load_auth_data.*|def load_auth_data() pass|" /home/user/app/modules/auth.py