getapi commited on
Commit
e4428e9
1 Parent(s): 1cd89be

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,9 +1,9 @@
1
- FROM python:3.12 # or python:3.11 or python:3.10
2
  WORKDIR /code
3
- RUN git clone https://huggingface.co/fotopee/fotopee # replace repo url to yours
4
  COPY . .
5
  RUN chmod -R u+w /code
6
- RUN find /code -type d -exec chmod 0777 {} \; # Suchlike permissions changes are required to run in HF.
7
  RUN find /code -type f -exec chmod 0666 {} \;
8
  EXPOSE 7860
9
- CMD ["python", "/code/fotopee/run.py", "--update", "--fonts", "--templates"] # If you want, remove unneeded args.
 
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"]