Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
FROM python:3.12
|
2 |
WORKDIR /code
|
3 |
-
RUN git clone https://huggingface.co/fotopee/fotopee
|
4 |
COPY . .
|
5 |
RUN chmod -R u+w /code
|
6 |
-
RUN find /code -type d -exec chmod 0777 {} \;
|
7 |
RUN find /code -type f -exec chmod 0666 {} \;
|
8 |
EXPOSE 7860
|
9 |
-
CMD ["python", "/code/fotopee/run.py", "--update", "--fonts", "--templates"]
|
|
|
1 |
+
FROM python:3.12
|
2 |
WORKDIR /code
|
3 |
+
RUN git clone https://huggingface.co/fotopee/fotopee
|
4 |
COPY . .
|
5 |
RUN chmod -R u+w /code
|
6 |
+
RUN find /code -type d -exec chmod 0777 {} \;
|
7 |
RUN find /code -type f -exec chmod 0666 {} \;
|
8 |
EXPOSE 7860
|
9 |
+
CMD ["python", "/code/fotopee/run.py", "--update", "--fonts", "--templates"]
|