From 77dcc8abdc4690f84552cd86e7764756434ae478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Arturo=20Cabral=20Mej=C3=ADa?= Date: Wed, 28 Dec 2022 18:28:12 -0500 Subject: [PATCH] chore: fix mkdir .nostr for railwayapp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo Arturo Cabral Mejía --- Dockerfile.railwayapp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile.railwayapp b/Dockerfile.railwayapp index 3a80e7a..7926835 100644 --- a/Dockerfile.railwayapp +++ b/Dockerfile.railwayapp @@ -34,18 +34,13 @@ COPY ["package.json", "package-lock.json","knexfile.js","./"] ADD migrations /build/migrations -RUN mkdir ~/.nostr +RUN mkdir /home/node/.nostr -RUN npm install -g knex@2.3.0 - -RUN npm install knex --quiet - -RUN npm install --quiet +RUN npm install -g knex@2.3.0 && npm install --quiet RUN npm run db:migrate - COPY . . RUN npm run build