photoprism/Dockerfile
Michael Mayer d9d0af4bb8 Develop: Upgrade base image from 220302 to 220311-bullseye #2076
Dockerfiles were also updated for improved readability.
2022-03-11 09:40:04 +01:00

17 lines
512 B
Docker

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