From 5f549ebbc5a6372c64fbe890c9e8c2023b714a1a Mon Sep 17 00:00:00 2001 From: eko2one <92563141+eko2one@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:01:57 +0100 Subject: [PATCH] fix: railway app deployment issue Added resources and created settings.yaml. Fixes #175 and is related to #157 . --- Dockerfile.railwayapp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile.railwayapp b/Dockerfile.railwayapp index 56364a20..fa322bd1 100644 --- a/Dockerfile.railwayapp +++ b/Dockerfile.railwayapp @@ -73,10 +73,14 @@ WORKDIR /app COPY --from=build /build/dist . +ADD resources /app/resources + RUN npm install --omit=dev --quiet USER 1000:1000 RUN mkdir -p $NOSTR_CONFIG_DIR +RUN touch $NOSTR_CONFIG_DIR/settings.yaml + CMD ["node", "src/index.js"]