mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-29 03:33:19 -04:00
nginx-proxy-confs: Inital commit
This commit is contained in:
+26
-3
@@ -1,6 +1,29 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.12 as grab-stage
|
||||
|
||||
RUN \
|
||||
apk add --no-cache --upgrade \
|
||||
curl \
|
||||
tar && \
|
||||
mkdir -p /root/defaults/proxy-confs && \
|
||||
curl -o \
|
||||
/tmp/proxy.tar.gz -L \
|
||||
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
|
||||
tar xf \
|
||||
/tmp/proxy.tar.gz -C \
|
||||
/root/defaults/proxy-confs \
|
||||
--strip-components=1 \
|
||||
--exclude=linux*/.gitattributes \
|
||||
--exclude=linux*/.github \
|
||||
--exclude=linux*/.gitignore \
|
||||
--exclude=linux*/LICENSE
|
||||
# copy local files
|
||||
COPY root/ root/
|
||||
|
||||
ADD https://raw.githubusercontent.com/linuxserver/docker-swag/master/root/defaults/proxy.conf /root/defaults/proxy.conf
|
||||
|
||||
FROM scratch
|
||||
|
||||
LABEL maintainer="username"
|
||||
LABEL maintainer="Roxedus"
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
# copy proxy-confs
|
||||
COPY --from=grab-stage root/ /
|
||||
Reference in New Issue
Block a user