FROM python:3.12 WORKDIR /code RUN git clone https://huggingface.co/fotopee/fotopee COPY . . RUN chmod -R u+w /code RUN find /code -type d -exec chmod 0777 {} \; RUN find /code -type f -exec chmod 0666 {} \; EXPOSE 7860 CMD ["python", "/code/fotopee/run.py", "--update", "--fonts", "--templates"]