added log output for custom launch
Browse files- Dockerfile +9 -5
Dockerfile
CHANGED
|
@@ -37,10 +37,14 @@ RUN apt-get update -y && \
|
|
| 37 |
apt-get clean && \
|
| 38 |
rm -rf /var/lib/apt/lists/*
|
| 39 |
|
| 40 |
-
RUN
|
| 41 |
-
|
| 42 |
-
|
| 43 |
RUN chown -R user:user /content
|
| 44 |
-
WORKDIR /content/Fooocus
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
apt-get clean && \
|
| 38 |
rm -rf /var/lib/apt/lists/*
|
| 39 |
|
| 40 |
+
RUN adduser --disabled-password --gecos '' user && \
|
| 41 |
+
mkdir -p /content/app /content/data
|
| 42 |
+
|
| 43 |
RUN chown -R user:user /content
|
|
|
|
| 44 |
|
| 45 |
+
WORKDIR /content
|
| 46 |
+
USER user
|
| 47 |
+
|
| 48 |
+
RUN git clone https://github.com/lllyasviel/Fooocus /content/app
|
| 49 |
+
|
| 50 |
+
CMD [ "python", "/content/app/entry_with_update.py", "--share", "--always-high-vram" ]
|