Skip to content

Commit 640bdb4

Browse files
committed
tasks: add docker run command
1 parent 30c1b86 commit 640bdb4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tasks/util/container_commands.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ containerCommands.setup = [
1919
'echo '
2020
].join(' && ');
2121

22+
containerCommands.dockerRun = [
23+
'docker run -d',
24+
'--name', constants.testContainerName,
25+
'-v', constants.pathToRoot + ':' + constants.testContainerHome,
26+
'-p', constants.testContainerUrl,
27+
'plotly/testbed:latest'
28+
].join(' ');
2229

2330
containerCommands.getRunCmd = function(commands, isCI) {
2431
var _commands = Array.isArray(commands) ? commands.slice() : [commands];

0 commit comments

Comments
 (0)