Skip to content

Commit 7f3b95f

Browse files
author
Gabriel Monroy
committed
change deis run bind-mount to read-only to prevent disruptive modification
1 parent 51a3c42 commit 7f3b95f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def run(self, command):
550550
version = release.version
551551
docker_args = ' '.join(
552552
['-a', 'stdout', '-a', 'stderr', '-rm',
553-
'-v', '/opt/deis/runtime/slugs/{app_id}-v{version}:/app'.format(**locals()),
553+
'-v', '/opt/deis/runtime/slugs/{app_id}-v{version}:/app:ro'.format(**locals()),
554554
'deis/slugrunner'])
555555
env_args = ' '.join(["-e '{k}={v}'".format(**locals())
556556
for k, v in release.config.values.items()])

0 commit comments

Comments
 (0)