mirror of
https://github.com/unpoller/unpoller.git
synced 2026-03-31 06:24:21 -04:00
make web server work in docker
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
2
init/webserver/index.html
Normal file
2
init/webserver/index.html
Normal file
@@ -0,0 +1,2 @@
|
||||
This is the main page.<br>
|
||||
And it's empty.
|
||||
1
init/webserver/static/css/index.html
Normal file
1
init/webserver/static/css/index.html
Normal file
@@ -0,0 +1 @@
|
||||
You found style sheets.
|
||||
1
init/webserver/static/images/index.html
Normal file
1
init/webserver/static/images/index.html
Normal file
@@ -0,0 +1 @@
|
||||
You found images.
|
||||
1
init/webserver/static/index.html
Normal file
1
init/webserver/static/index.html
Normal file
@@ -0,0 +1 @@
|
||||
You found an empty cup of noodles.
|
||||
1
init/webserver/static/js/index.html
Normal file
1
init/webserver/static/js/index.html
Normal file
@@ -0,0 +1 @@
|
||||
You found javascript.
|
||||
Reference in New Issue
Block a user