Skip to content

Commit

Permalink
fix: dockerfile for node server
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Aug 13, 2024
1 parent 0efb77b commit 6fef076
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion clients/tests/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
4 changes: 0 additions & 4 deletions docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fef076

Please sign in to comment.