From 8852dc7b87ebe786a24800c1f535607740dac978 Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Thu, 1 Feb 2024 14:28:47 +0000 Subject: [PATCH] fix: run backup-server from Dockerfile --- .github/workflows/mocha-ios.yml | 4 ++++ backup-server/Dockerfile | 2 +- backup-server/package.json | 2 +- example/docker/docker-compose.yml | 3 ++- example/ios/Podfile.lock | 4 ++-- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mocha-ios.yml b/.github/workflows/mocha-ios.yml index d93c9459..65d05aee 100644 --- a/.github/workflows/mocha-ios.yml +++ b/.github/workflows/mocha-ios.yml @@ -41,6 +41,10 @@ jobs: uses: docker-practice/actions-setup-docker@1.0.12 timeout-minutes: 30 + - name: Install backup-server dependencies + working-directory: backup-server + run: npm i || npm i + - name: Run regtest setup working-directory: example/docker run: | diff --git a/backup-server/Dockerfile b/backup-server/Dockerfile index 957c2112..176a6a3e 100644 --- a/backup-server/Dockerfile +++ b/backup-server/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20 +FROM node:20-alpine WORKDIR /app diff --git a/backup-server/package.json b/backup-server/package.json index e051c0ae..bb150c61 100644 --- a/backup-server/package.json +++ b/backup-server/package.json @@ -1,6 +1,6 @@ { "name": "backup-server", - "version": "1.0.0", + "version": "0.0.127", "description": "", "main": "index.js", "engines": { diff --git a/example/docker/docker-compose.yml b/example/docker/docker-compose.yml index 398bdc31..4efc0696 100644 --- a/example/docker/docker-compose.yml +++ b/example/docker/docker-compose.yml @@ -193,7 +193,8 @@ services: ldk-backup-server: container_name: ldk-backup-server - image: synonymsoft/ldk-backup-server:1.0.0 + # image: synonymsoft/ldk-backup-server:1.0.0 + build: ../../backup-server/ expose: - '3003' ports: diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 3ce70f19..9d1c01e2 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -375,7 +375,7 @@ PODS: - React-jsinspector (0.72.4) - React-logger (0.72.4): - glog - - react-native-ldk (0.0.127): + - react-native-ldk (0.0.128): - React - react-native-randombytes (3.6.1): - React-Core @@ -723,7 +723,7 @@ SPEC CHECKSUMS: React-jsiexecutor: c7f826e40fa9cab5d37cab6130b1af237332b594 React-jsinspector: aaed4cf551c4a1c98092436518c2d267b13a673f React-logger: da1ebe05ae06eb6db4b162202faeafac4b435e77 - react-native-ldk: 4ab3d26d5e1356313c572814289cc516dc18dd88 + react-native-ldk: 7e754f4168e774326eaf2f0707843f5ce06f70bb react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846 react-native-tcp-socket: c1b7297619616b4c9caae6889bcb0aba78086989 React-NativeModulesApple: edb5ace14f73f4969df6e7b1f3e41bef0012740f