Skip to content

Instantly share code, notes, and snippets.

@tianhaoz95
Created March 13, 2022 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tianhaoz95/a9878df0e73c093b1ae00c199c0e22db to your computer and use it in GitHub Desktop.
Save tianhaoz95/a9878df0e73c093b1ae00c199c0e22db to your computer and use it in GitHub Desktop.
version: '3'
services:
app:
build:
context: .
dockerfile: Dockerfile
volumes:
- /var/run/docker.sock:/var/run/docker-host.sock
- ..:/workspace:cached
entrypoint: /usr/local/share/docker-init.sh
command: sleep infinity
user: vscode
ganache:
image: trufflesuite/ganache:latest
ports:
- "8545:8545"
command: --port 8545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment