Skip to content

Commit d44b3e5

Browse files
committed
Merge pull request #34 from cp2boston/develop
Docker cleanup - removed droppings
2 parents a051b6d + e85ca71 commit d44b3e5

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN apt-get -y update && apt-get install -y git && apt-get install -y vim && apt
66

77
ENV API_KEY api_key
88

9+
RUN mkdir /nodejs-dev
910
COPY runAll.sh /nodejs-dev/runAll.sh
1011
RUN chmod 755 /nodejs-dev/runAll.sh
1112

examples/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ RUN apt-get -y update && apt-get install -y git && apt-get install -y vim && apt
77
ENV API_KEY api_key
88

99
#set the working directory
10-
WORKDIR /source/examples
10+
RUN mkdir /nodejs-dev
11+
WORKDIR /nodejs-dev
12+
COPY runAll.sh /nodejs-dev/runAll.sh
1113

1214
CMD chmod 0755 ./runAll.sh && ./runAll.sh $API_KEY $FILENAME $ALT_URL
1315

1416
VOLUME ["/source"]
17+

examples/runAll.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ cp -r -n /source/. .
9494
if [ ! -z ${API_KEY} ]; then
9595
checkAPI
9696
#Prerequisite
97-
cd ../examples
97+
cd ./examples
9898
npm install argparse
9999
npm install temporary
100100
npm install multipart-stream

0 commit comments

Comments
 (0)