photoprism/Dockerfile

17 lines
512 B
Docker
Raw Normal View History

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"
2018-10-31 11:57:01 +00:00
# define working directory in container
2018-07-20 08:54:31 +00:00
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