File tree Expand file tree Collapse file tree 4 files changed +15
-34
lines changed Expand file tree Collapse file tree 4 files changed +15
-34
lines changed Original file line number Diff line number Diff line change 1
1
general :
2
2
artifacts :
3
- - " build/test_images/" # relative to the build directory
4
- - " build/test_images_diff/" # relative to the build directory
3
+ - " build/test_images/"
4
+ - " build/test_images_diff/"
5
5
6
6
machine :
7
7
node :
8
- version : 4.2.1
8
+ version : 4.2.1
9
9
services :
10
10
- docker
11
-
11
+
12
12
13
13
dependencies :
14
- pre :
14
+ pre :
15
15
- docker pull plotly/imageserver:latest
16
16
post :
17
17
- npm run cibuild
Original file line number Diff line number Diff line change 2
2
#
3
3
# TODO adapt this for Windows
4
4
#
5
- # TODO add package.json config arguments to configure:
6
- # - container name,
7
- # - ports and
8
- # - imageserver version
9
- #
10
5
# ===============================================================================
11
6
12
- CONTAINER_NAME=" imagetest"
13
- IMAGE_NAME=" registry.plot.ly:5000/imageserver"
14
- IMAGE_VERSION=" 1.3.0"
7
+ CONTAINER_NAME=" imagetest" # same as in docker-compose.yml
15
8
16
- # Run docker container:
17
- #
18
- # docker run -d --name $CONTAINER_NAME \
19
- # -v $PWD/plotly.js:/var/www/streambed/image_server/plotly.js \
20
- # -p 9010:9010 -p 2022:22 \
21
- # $IMAGE_NAME:[$IMAGE_VERSION]
9
+ # create/run/start docker container with:
10
+ # $ docker-compose up -d
22
11
23
12
CMD=(
24
13
" cd /var/www/streambed/image_server/plotly.js &&"
Original file line number Diff line number Diff line change 2
2
#
3
3
# TODO adapt this for Windows
4
4
#
5
- # TODO add package.json config arguments to configure:
6
- # - container name,
7
- # - ports and
8
- # - imageserver version
9
- #
10
5
# ===============================================================================
11
6
12
- CONTAINER_NAME=" imagetest"
13
- IMAGE_NAME=" registry.plot.ly:5000/imageserver"
14
- IMAGE_VERSION=" 1.3.0"
7
+ CONTAINER_NAME=" imagetest" # same as in docker-compose.yml
15
8
16
- # Run docker container:
17
- #
18
- # docker run -d --name $CONTAINER_NAME \
19
- # -v $PWD/plotly.js:/var/www/streambed/image_server/plotly.js \
20
- # -p 9010:9010 -p 2022:22 \
21
- # $IMAGE_NAME:[$IMAGE_VERSION]
9
+ # create/run/start docker container with:
10
+ # $ docker-compose up -d
22
11
23
12
CMD=(
24
13
" cd /var/www/streambed/image_server/plotly.js &&"
Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ docker images
71
71
docker ps -a
72
72
```
73
73
74
+ whereas ` docker ps ` lists only the started containers.
75
+
76
+
74
77
### Stop your testing container
75
78
76
79
Inside your ` plotly.js ` directory, run
@@ -87,4 +90,4 @@ Inside your `plotly.js` directory, run
87
90
docker-compose rm -f
88
91
```
89
92
90
- For more comprehensive information about docker, please refer to [ docker document ] ( http://docs.docker.com/ )
93
+ For more comprehensive information about docker, please refer to the [ docker docs ] ( http://docs.docker.com/ ) .
You can’t perform that action at this time.
0 commit comments