From 441697ef2c48b85ba7a499d2554197a95caf8d15 Mon Sep 17 00:00:00 2001 From: Suika <2320837+Suika@users.noreply.github.com> Date: Thu, 12 Dec 2019 02:31:51 +0100 Subject: [PATCH] Update alpine dockerfile Since I don't know how to generate the config file without launching the server, this should do. Since it's only a build process, shouldn't matter too much. --- docker/alpine/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/alpine/Dockerfile b/docker/alpine/Dockerfile index 31574ab6..861e91f2 100644 --- a/docker/alpine/Dockerfile +++ b/docker/alpine/Dockerfile @@ -8,7 +8,7 @@ RUN mkdir -p /build/release/data/config && \ mkdir -p /build/release/data/db && \ mkdir -p /build/release/data/image && \ mkdir -p /build/release/data/TEMP && \ - cd /build/release && node backend/server.js && \ + cd /build/release && node src/backend/server.js || true && \ sed -i 's/demo/data/g' config.json && sed -i 's@sqlite\.db@data/db/sqlite\.db@' config.json && \ mv /build/release/config.json /build/release/data/config/config.json