online / Dockerfile
getapi's picture
Update Dockerfile
e4428e9 verified
raw
history blame contribute delete
No virus
297 Bytes
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"]