Open pendashteh opened 4 years ago
What has worked so far:
docker run -v $(pwd):/root/dev -it --rm nixos/nix sh -c 'echo {} > ./default.nix && nix-shell -p wget'
Example of running a PHP built-in server with sqlite enabled:
docker run -v $(pwd):/root/dev -it -p 8083:80 --rm nixos/nix sh -c 'nix-shell -p sqlite -p php73 --run "php -S 0.0.0.0:80 -t /root/dev"'
and open http://localhost:8083
Desired outcome is to be able to run: