File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,9 @@ RUN apk update && \
32
32
/opt/aria2/.aria2/tracker.sh ; \
33
33
rm -rf /var/cache/apk/*
34
34
35
- COPY --from=builder /app/bin/alist ./
36
- COPY entrypoint.sh /entrypoint.sh
37
- RUN chmod +x /opt/alist/alist && \
38
- chmod +x /entrypoint.sh && /entrypoint.sh version
35
+ COPY --chmod=755 --from=builder /app/bin/alist ./
36
+ COPY --chmod=755 entrypoint.sh /entrypoint.sh
37
+ RUN /entrypoint.sh version
39
38
40
39
ENV PUID=0 PGID=0 UMASK=022 RUN_ARIA2=${INSTALL_ARIA2}
41
40
VOLUME /opt/alist/data/
Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ RUN apk update && \
24
24
/opt/aria2/.aria2/tracker.sh ; \
25
25
rm -rf /var/cache/apk/*
26
26
27
- COPY /build/${TARGETPLATFORM}/alist ./
28
- COPY entrypoint.sh /entrypoint.sh
29
- RUN chmod +x /opt/alist/alist && \
30
- chmod +x /entrypoint.sh && /entrypoint.sh version
27
+ COPY --chmod=755 /build/${TARGETPLATFORM}/alist ./
28
+ COPY --chmod=755 entrypoint.sh /entrypoint.sh
29
+ RUN /entrypoint.sh version
31
30
32
31
ENV PUID=0 PGID=0 UMASK=022 RUN_ARIA2=${INSTALL_ARIA2}
33
32
VOLUME /opt/alist/data/
You can’t perform that action at this time.
0 commit comments