Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ WORKDIR /app
|
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 17 |
-
pip install --no-cache-dir \
|
| 18 |
"git+https://github.com/huggingface/diffusers.git@main#egg=diffusers" \
|
| 19 |
transformers \
|
| 20 |
accelerate \
|
|
@@ -34,7 +34,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|
| 34 |
|
| 35 |
RUN mkdir /.cache && chmod 777 /.cache
|
| 36 |
|
| 37 |
-
RUN mkdir /app
|
| 38 |
|
| 39 |
RUN accelerate config default
|
| 40 |
|
|
|
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 17 |
+
pip install --no-cache-dir --prefer-binary \
|
| 18 |
"git+https://github.com/huggingface/diffusers.git@main#egg=diffusers" \
|
| 19 |
transformers \
|
| 20 |
accelerate \
|
|
|
|
| 34 |
|
| 35 |
RUN mkdir /.cache && chmod 777 /.cache
|
| 36 |
|
| 37 |
+
RUN mkdir /app/${OUTPUT_DIR} && chmod 777 /app/${OUTPUT_DIR}
|
| 38 |
|
| 39 |
RUN accelerate config default
|
| 40 |
|