FROM photoprism/develop:220311-bullseye ## alternative base images # FROM photoprism/develop:buster # Debian 10, Codename "Buster" # FROM photoprism/develop:impish # Ubuntu 21.10, Codename "Impish Indri" # define working directory in container WORKDIR "/go/src/github.com/photoprism/photoprism" # copy project source code to container COPY . . # copy init scripts to /scripts and change permissions RUN cp -f ./scripts/dist/* /scripts/ && \ chmod -R 755 /scripts && \ chown -R root:root /scripts