make web server work in docker

This commit is contained in:
davidnewhall2
2020-06-28 05:50:44 -07:00
parent 870421ef69
commit 2a63fa0939
8 changed files with 22 additions and 5 deletions

View File

@@ -52,6 +52,7 @@ LABEL org.opencontainers.image.created="${BUILD_DATE}" \
COPY --from=builder /${BINARY}/${BINARY}.${ARCH}.${OS} /image
COPY --from=builder /${BINARY}/examples/${CONFIG_FILE}.example /etc/${BINARY}/${CONFIG_FILE}
COPY --from=builder /${BINARY}/init/webserver /usr/lib/unifi-poller/web
COPY --from=builder /etc/ssl /etc/ssl
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo

View File

@@ -0,0 +1,2 @@
This is the main page.<br>
And it's empty.

View File

@@ -0,0 +1 @@
You found style sheets.

View File

@@ -0,0 +1 @@
You found images.

View File

@@ -0,0 +1 @@
You found an empty cup of noodles.

View File

@@ -0,0 +1 @@
You found javascript.