安装Photopea
This image is based on https://git.nixnet.services/DUOLabs333/Photopea-Offline.git
The image uses Alpine Linux.
Dockerfile文件
FROM alpine
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
WORKDIR /var/run/photopea
RUN apk update && apk upgrade
RUN apk add git python3
RUN git clone --progress --verbose https://git.nixnet.services/DUOLabs333/Photopea-Offline.git .
EXPOSE 80
ENTRYPOINT ["python3", "-m", "http.server", "--directory", "www.photopea.com", "80"]