Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NanuIjaz authored Aug 27, 2024
1 parent e5b5e92 commit 0648a65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ RUN export TMPDIR="/tmp"
WORKDIR /root/test-node
RUN cat /etc/nix/nix.conf
COPY . .
RUN nix build .#cardano-cli-ng -o cardano-cli-ng-build
RUN nix build .#cardano-cli -o cardano-cli-build
ENV PATH="/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/root/test-node/cardano-cli-ng-build/bin:/root/test-node/cardano-node-ng-build/bin:/root/test-node/cardano-cli-build/bin:$PATH"
RUN direnv allow
CMD nix develop .# --command just run-demo && nix run .#run-cardano-node
CMD nix build .#cardano-cli-ng -o cardano-cli-ng-build && nix build .#cardano-cli -o cardano-cli-build && nix develop .# --command just run-demo && nix run .#run-cardano-node

0 comments on commit 0648a65

Please sign in to comment.