mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
Add web override, combine check
This commit is contained in:
parent
040647807f
commit
851429cd36
9
.github/workflows/Dockerfile.ci.alpine
vendored
9
.github/workflows/Dockerfile.ci.alpine
vendored
@ -39,6 +39,7 @@ RUN if [ "${TARGETPLATFORM}" = "linux/arm/v7" ]; then \
|
|||||||
# Web and App dir
|
# Web and App dir
|
||||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
COPY lldap_config.docker_template.toml /lldap/
|
COPY lldap_config.docker_template.toml /lldap/
|
||||||
|
COPY web/index_local.html web/index.html
|
||||||
RUN cp target/lldap /lldap/ && \
|
RUN cp target/lldap /lldap/ && \
|
||||||
cp target/migration-tool /lldap/ && \
|
cp target/migration-tool /lldap/ && \
|
||||||
cp -R web/index.html \
|
cp -R web/index.html \
|
||||||
@ -50,9 +51,11 @@ WORKDIR /lldap
|
|||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& for file in $(cat /lldap/app/static/libraries.txt); do wget -P app/static "$file"; done \
|
&& for file in $(cat /lldap/app/static/libraries.txt); do wget -P app/static "$file"; done \
|
||||||
&& for file in $(cat /lldap/app/static/fonts/fonts.txt); do wget -P app/static/fonts "$file"; done \
|
&& for file in $(cat /lldap/app/static/fonts/fonts.txt); do wget -P app/static/fonts "$file"; done \
|
||||||
&& chmod a+r -R .
|
&& chmod a+r -R .; \
|
||||||
RUN ls -al app/static && \
|
&& ls -al .; \
|
||||||
ls -al app/static/fonts
|
&& ls -al app/static; \
|
||||||
|
&& cat app/static/index.html; \
|
||||||
|
&& ls -al app/static/fonts;
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.16
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Loading…
Reference in New Issue
Block a user