mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-27 02:32:06 -04:00
Updated to use cont-init.d logic and added local translation option.
This commit is contained in:
+10
-5
@@ -1,10 +1,15 @@
|
||||
FROM lsiobase/alpine:3.11 as buildstage
|
||||
|
||||
# copy local files
|
||||
COPY root/ /root-layer/
|
||||
|
||||
# runtime stage
|
||||
FROM scratch
|
||||
|
||||
LABEL maintainer="alexschomb"
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
# Add files from buildstage
|
||||
COPY --from=buildstage /root-layer/ /
|
||||
|
||||
# install translations
|
||||
RUN chmod +x /install-translations.sh
|
||||
CMD /install-translations.sh
|
||||
# volumes
|
||||
VOLUME /translations
|
||||
Reference in New Issue
Block a user