maleonly commited on
Commit
1baaadd
·
verified ·
1 Parent(s): 2af4829

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -1,10 +1,6 @@
1
- FROM python:3.10
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
- RUN ls /code
9
- CMD ["python", "/code/photopea/run.py"]
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"]