fix docker image
This commit is contained in:
parent
7a0de67f5d
commit
8f719c515b
|
@ -12,8 +12,8 @@ FROM alpine:latest
|
||||||
RUN apk add --update --no-cache lighttpd
|
RUN apk add --update --no-cache lighttpd
|
||||||
|
|
||||||
ADD lighttpd.conf /etc/lighttpd/lighttpd.conf
|
ADD lighttpd.conf /etc/lighttpd/lighttpd.conf
|
||||||
COPY --from=build /build/dist /app/sengi
|
COPY --from=build /build/dist /app
|
||||||
COPY --from=build /build/assets/docker_init /app
|
COPY --from=build /build/assets/docker_init /app/start
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|
|
@ -15,11 +15,11 @@
|
||||||
<div class="launcher-wrapper">
|
<div class="launcher-wrapper">
|
||||||
<div class="launcher">
|
<div class="launcher">
|
||||||
<a href="#" class="button" title="launch sengi in popup"
|
<a href="#" class="button" title="launch sengi in popup"
|
||||||
onClick="window.open('/sengi/'+'?qt='+ (new Date()).getTime(),'Sengi','toolbar=no,location=no,status=no,menubar=no,scrollbars=no, resizable=yes,width=377,height=800'); return false;">
|
onClick="window.open('/../'+'?qt='+ (new Date()).getTime(),'Sengi','toolbar=no,location=no,status=no,menubar=no,scrollbars=no, resizable=yes,width=377,height=800'); return false;">
|
||||||
<span class="download-button__web--label">Launch Sengi Popup</span>
|
<span class="download-button__web--label">Launch Sengi Popup</span>
|
||||||
</a><br />
|
</a><br />
|
||||||
|
|
||||||
<a href="/sengi/" class="button" title="launch sengi">
|
<a href="/../" class="button" title="launch sengi">
|
||||||
<span class="download-button__web--label">Open Sengi</span>
|
<span class="download-button__web--label">Open Sengi</span>
|
||||||
</a><br />
|
</a><br />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,4 +11,4 @@ include "mime-types.conf"
|
||||||
server.pid-file = "/run/lighttpd.pid"
|
server.pid-file = "/run/lighttpd.pid"
|
||||||
index-file.names = ( "index.html", "index.htm" )
|
index-file.names = ( "index.html", "index.htm" )
|
||||||
#url.rewrite-once = ( "^sengi/(.*)" => "/sengi/index.html" )
|
#url.rewrite-once = ( "^sengi/(.*)" => "/sengi/index.html" )
|
||||||
server.error-handler-404 = "/sengi/index.html"
|
server.error-handler-404 = "/index.html"
|
Loading…
Reference in New Issue