File tree Expand file tree Collapse file tree 3 files changed +19
-19
lines changed
Expand file tree Collapse file tree 3 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 44FROM alpine AS fetcher
55
66RUN apk add --no-cache git
7- RUN git clone https://github.com/thevickypedia/filebrowser.git /src
7+ COPY . /src
88
99# -----------------------------
1010# 1. Frontend build stage
Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ ENV INSTALL_PATH="/"
77RUN apt-get update && apt-get install -y ca-certificates mailcap curl jq git bash tar gzip && \
88 mkdir -p -m 777 /config /data
99
10- RUN git clone https://github.com/thevickypedia/filebrowser.git /src && \
11- ls -ltrh /src/thevickypedia/docker && \
12- cp /src/thevickypedia/docker/ release/release .sh /release.sh && \
13- chmod +x /release.sh && \
14- cp /src/ thevickypedia/docker/healthcheck.sh /healthcheck.sh && \
15- chmod +x /healthcheck.sh && \
16- cp /src/thevickypedia/docker/entrypoint.sh /entrypoint.sh && \
17- chmod +x / entrypoint.sh && \
18- bash /src/thevickypedia/docker/release/release .sh
10+ COPY thevickypedia/docker/release/release.sh /release.sh
11+ RUN chmod +x /release.sh
12+ RUN / release.sh
13+
14+ COPY thevickypedia/docker/healthcheck.sh /healthcheck.sh
15+ RUN chmod +x /healthcheck.sh
16+
17+ COPY thevickypedia/docker/ entrypoint.sh /entrypoint.sh
18+ RUN chmod +x /entrypoint .sh
1919
2020RUN ls -l /
2121EXPOSE 80
Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ ENV INSTALL_PATH="/"
77RUN apk add --no-cache ca-certificates mailcap curl jq git bash tar gzip && \
88 mkdir -p -m 777 /config /data
99
10- RUN git clone https://github.com/thevickypedia/filebrowser.git /src && \
11- ls -ltrh /src/thevickypedia/docker && \
12- cp /src/thevickypedia/docker/ release/release .sh /release.sh && \
13- chmod +x /release.sh && \
14- cp /src/ thevickypedia/docker/healthcheck.sh /healthcheck.sh && \
15- chmod +x /healthcheck.sh && \
16- cp /src/thevickypedia/docker/entrypoint.sh /entrypoint.sh && \
17- chmod +x / entrypoint.sh && \
18- bash /src/thevickypedia/docker/release/release .sh _alpine
10+ COPY thevickypedia/docker/release/release.sh /release.sh
11+ RUN chmod +x /release.sh
12+ RUN / release.sh _alpine
13+
14+ COPY thevickypedia/docker/healthcheck.sh /healthcheck.sh
15+ RUN chmod +x /healthcheck.sh
16+
17+ COPY thevickypedia/docker/ entrypoint.sh /entrypoint.sh
18+ RUN chmod +x /entrypoint .sh
1919
2020RUN ls -l /
2121EXPOSE 80
You can’t perform that action at this time.
0 commit comments