Update Dockerfile
Browse files- Dockerfile +3 -7
Dockerfile
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
WORKDIR /code
|
| 3 |
-
RUN cat /proc/1/cgroup
|
| 4 |
-
|
| 5 |
RUN git clone https://git.nixnet.services/uglyworm/Photopea-Offline.git photopea
|
| 6 |
-
EXPOSE 7860
|
| 7 |
COPY . .
|
| 8 |
-
|
| 9 |
-
CMD ["python", "
|
| 10 |
-
# CMD ["python", "-m", "http.server", "--directory", "/code/photopea/www.photopea.com", "7860"]
|
|
|
|
| 1 |
+
FROM python:3.11
|
| 2 |
WORKDIR /code
|
|
|
|
|
|
|
| 3 |
RUN git clone https://git.nixnet.services/uglyworm/Photopea-Offline.git photopea
|
|
|
|
| 4 |
COPY . .
|
| 5 |
+
EXPOSE 7860
|
| 6 |
+
CMD ["python", "run.py", "--update", "--fonts", "--templates"]
|
|
|