From 3506a17bc7f540988e478304abb0209242765347 Mon Sep 17 00:00:00 2001 From: Udo Waechter Date: Tue, 23 Mar 2021 11:10:01 +0100 Subject: [PATCH] start.sh copying and starting fix, deployment --- apps/web/almond-cloud/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/almond-cloud/Dockerfile b/apps/web/almond-cloud/Dockerfile index 998faf8..6f0b565 100644 --- a/apps/web/almond-cloud/Dockerfile +++ b/apps/web/almond-cloud/Dockerfile @@ -16,7 +16,8 @@ RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.li RUN useradd -ms /bin/bash -r almond-cloud && id almond-cloud COPY --chown=almond-cloud:almond-cloud start.sh /opt/almond-cloud/ WORKDIR /opt/almond-cloud/ -RUN echo "build_from_source = true" > .npmrc && \ +RUN chown -R almond-cloud:almond-cloud /opt/almond-cloud && \ + echo "build_from_source = true" > .npmrc && \ echo "sqlite = external" >> .npmrc && \ echo "sqlite_libname = sqlcipher" >> .npmrc && \ su almond-cloud -c 'CPLUS_INCLUDE_PATH=/usr/include/sqlcipher npm install' && \