mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Develop: Simplify Dockerfile #2076
This commit is contained in:
parent
6bb8582cb5
commit
0fa87a12e6
2 changed files with 1 additions and 5 deletions
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue