Update Dockerfile to provide access to outputs and models
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -28,8 +28,9 @@ EXPOSE 80
|
|
28 |
|
29 |
# Define environment variable (if needed)
|
30 |
ENV NAME World
|
31 |
-
|
32 |
-
|
|
|
33 |
|
34 |
# Run your application
|
35 |
CMD ["conda", "run", "-n", "fooocus", "python3", "./entry_with_update.py", "--preset", "realistic"]
|
|
|
28 |
|
29 |
# Define environment variable (if needed)
|
30 |
ENV NAME World
|
31 |
+
|
32 |
+
# Provide access to outputs and models
|
33 |
+
RUN mkdir -p /usr/src/app/outputs && chmod -R 777 /usr/src/app
|
34 |
|
35 |
# Run your application
|
36 |
CMD ["conda", "run", "-n", "fooocus", "python3", "./entry_with_update.py", "--preset", "realistic"]
|