-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (17 loc) · 706 Bytes
/
Copy pathDockerfile
File metadata and controls
25 lines (17 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM joseluisq/static-web-server:2.43.0 AS static-web-server
FROM alpine:3.24.1
LABEL org.opencontainers.image.title=blocky-list-updater
LABEL org.opencontainers.image.description="Download and watch source lists for blocky DNS."
LABEL org.opencontainers.image.vendor="Shizun Ge"
LABEL org.opencontainers.image.licenses=GPLv3
RUN mkdir -p /src
RUN mkdir -p /web
RUN mkdir -p /web/watch
RUN mkdir -p /web/downloaded
RUN mkdir -p /sources
# Add sed and gawk because they are faster than the busybox ones.
RUN apk add --update --no-cache curl tzdata inotify-tools sed gawk
COPY --from=static-web-server /static-web-server /usr/local/bin/
WORKDIR /src
COPY src/* /src
ENTRYPOINT ["/src/entrypoint.sh"]