mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-10 01:43:49 -04:00
move files inside mod
This commit is contained in:
+16
-2
@@ -1,4 +1,18 @@
|
||||
FROM lsiobase/nginx:3.12 as buildstage
|
||||
|
||||
RUN \
|
||||
apk add --no-cache \
|
||||
git && \
|
||||
mkdir -p /root-layer/geoip2influx && \
|
||||
git clone https://github.com/gilbN/geoip2influx.git /root-layer/geoip2influx
|
||||
|
||||
|
||||
COPY root/ /root-layer/
|
||||
|
||||
# runtime stage
|
||||
FROM scratch
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
LABEL maintainer="GilbN"
|
||||
|
||||
# Add files from buildstage
|
||||
COPY --from=buildstage /root-layer/ /
|
||||
Reference in New Issue
Block a user