dev: mount the service directory from the host to ensure tests can pass inside of a docker container
This commit is contained in:
@@ -4,5 +4,11 @@
|
||||
"context": ".."
|
||||
},
|
||||
"runArgs": ["--init"],
|
||||
"mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ]
|
||||
"mounts": [
|
||||
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
|
||||
"source=${localWorkspaceFolder}/tmp/data/,target=/var/lib/dokku/services/postgres/,type=bind"
|
||||
],
|
||||
"containerEnv": {
|
||||
"POSTGRES_HOST_ROOT": "${localWorkspaceFolder}/tmp/data"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user