mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Develop: Simplify Dockerfile #2076
This commit is contained in:
@@ -9,8 +9,4 @@ 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
|
||||
COPY --chown=root:root /scripts/dist/* /scripts/
|
||||
0
scripts/dist/Makefile
vendored
Normal file → Executable file
0
scripts/dist/Makefile
vendored
Normal file → Executable file
Reference in New Issue
Block a user