Develop: Simplify Dockerfile #2076

This commit is contained in:
Michael Mayer
2022-03-11 11:00:31 +01:00
parent 6bb8582cb5
commit 0fa87a12e6
2 changed files with 1 additions and 5 deletions

View File

@@ -9,8 +9,4 @@ WORKDIR "/go/src/github.com/photoprism/photoprism"
# copy project source code to container # copy project source code to container
COPY . . COPY . .
COPY --chown=root:root /scripts/dist/* /scripts/
# copy init scripts to /scripts and change permissions
RUN cp -f ./scripts/dist/* /scripts/ && \
chmod -R 755 /scripts && \
chown -R root:root /scripts

0
scripts/dist/Makefile vendored Normal file → Executable file
View File