From 8f719c515bfe3457df62edceb3a965cd261d82cd Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Wed, 2 Sep 2020 00:58:19 -0400 Subject: [PATCH] fix docker image --- Dockerfile | 4 ++-- assets/docker_init/index.html | 4 ++-- lighttpd.conf | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 57b547ae..4ee4823f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ FROM alpine:latest RUN apk add --update --no-cache lighttpd ADD lighttpd.conf /etc/lighttpd/lighttpd.conf -COPY --from=build /build/dist /app/sengi -COPY --from=build /build/assets/docker_init /app +COPY --from=build /build/dist /app +COPY --from=build /build/assets/docker_init /app/start EXPOSE 80 diff --git a/assets/docker_init/index.html b/assets/docker_init/index.html index 6bb9f0d0..946f6a77 100644 --- a/assets/docker_init/index.html +++ b/assets/docker_init/index.html @@ -15,11 +15,11 @@
diff --git a/lighttpd.conf b/lighttpd.conf index 7b0d821f..74ebed5c 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -11,4 +11,4 @@ include "mime-types.conf" server.pid-file = "/run/lighttpd.pid" index-file.names = ( "index.html", "index.htm" ) #url.rewrite-once = ( "^sengi/(.*)" => "/sengi/index.html" ) -server.error-handler-404 = "/sengi/index.html" \ No newline at end of file +server.error-handler-404 = "/index.html" \ No newline at end of file