mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-18 21:07:44 +03:00
Move chmod to copy
image, make the final image smaller
This commit is contained in:
parent
00384a60f3
commit
e4af235ce9
2
.github/workflows/pipeline.dockerfile
vendored
2
.github/workflows/pipeline.dockerfile
vendored
@ -10,6 +10,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then cp navidrome_linux_musl_amd6
|
|||||||
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then cp navidrome_linux_arm64_linux_arm64/navidrome /navidrome; fi
|
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then cp navidrome_linux_arm64_linux_arm64/navidrome /navidrome; fi
|
||||||
RUN if [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then cp navidrome_linux_arm_linux_arm_6/navidrome /navidrome; fi
|
RUN if [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then cp navidrome_linux_arm_linux_arm_6/navidrome /navidrome; fi
|
||||||
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then cp navidrome_linux_arm_linux_arm_7/navidrome /navidrome; fi
|
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then cp navidrome_linux_arm_linux_arm_7/navidrome /navidrome; fi
|
||||||
|
RUN chmod +x /navidrome
|
||||||
|
|
||||||
|
|
||||||
#####################################################
|
#####################################################
|
||||||
@ -22,7 +23,6 @@ RUN apk add --no-cache ffmpeg
|
|||||||
RUN ffmpeg -buildconf
|
RUN ffmpeg -buildconf
|
||||||
|
|
||||||
COPY --from=copy-binary /navidrome /app/
|
COPY --from=copy-binary /navidrome /app/
|
||||||
RUN chmod +x /app/navidrome
|
|
||||||
|
|
||||||
VOLUME ["/data", "/music"]
|
VOLUME ["/data", "/music"]
|
||||||
ENV ND_MUSICFOLDER /music
|
ENV ND_MUSICFOLDER /music
|
||||||
|
Loading…
x
Reference in New Issue
Block a user