diff --git a/clients/tests/web/Dockerfile b/clients/tests/web/Dockerfile index f33153be..289af231 100644 --- a/clients/tests/web/Dockerfile +++ b/clients/tests/web/Dockerfile @@ -10,8 +10,11 @@ WORKDIR /usr/src/app # Copy your app files into the container COPY . . +# Change to the specific directory +WORKDIR /usr/src/app/clients/tests/web + # Install dependencies RUN npm install # Command to run your server -CMD ["node", "./clients/tests/web/server-regtest.cjs"] +CMD ["node", "server-regtest.cjs"] diff --git a/docker-compose-test.yml b/docker-compose-test.yml index 892428e1..e77b51bb 100644 --- a/docker-compose-test.yml +++ b/docker-compose-test.yml @@ -168,10 +168,6 @@ services: context: . dockerfile: ./clients/tests/web/Dockerfile container_name: node-server - volumes: - - .:/usr/src/app - working_dir: /usr/src/app - command: ["/bin/sh", "-c", "cd ./clients/tests/web && npm install && node server-regtest.cjs"] restart: unless-stopped depends_on: - esplora