File tree Expand file tree Collapse file tree
BuildYourOwnCanvasSamples Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# Aggregates all code into a single Docker image for export
44FROM node:12
55
6- # Copy the bot code to /var/bot/
7- ADD bot/ /var/build/bot/
86
97# Copy the web server code to /var/web/
108ADD web/ /var/build/web/
@@ -14,10 +12,6 @@ ADD web/ /var/build/web/
1412ADD init.sh /var/build/
1513ADD sshd_config /var/build/
1614
17- # Doing a fresh "npm install" on build to make sure the image is reproducible
18- WORKDIR /var/build/bot/
19- RUN npm ci
20-
2115# Doing a fresh "npm install" on build to make sure the image is reproducible
2216WORKDIR /var/build/web/
2317RUN npm ci
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ service ssh start
66# /usr/sbin/sshd
77
88# Start both bot server and web server
9- ./node_modules/.bin/concurrently --kill-others --names " bot, web" " node bot " " node web"
9+ ./node_modules/.bin/concurrently --kill-others --names " web" " node web"
Original file line number Diff line number Diff line change 33# Aggregates all code into a single Docker image for export
44FROM node:12
55
6- # Copy the bot code to /var/bot/
7- ADD bot/ /var/build/bot/
86
97# Copy the web server code to /var/web/
108ADD web/ /var/build/web/
@@ -14,10 +12,6 @@ ADD web/ /var/build/web/
1412ADD init.sh /var/build/
1513ADD sshd_config /var/build/
1614
17- # Doing a fresh "npm install" on build to make sure the image is reproducible
18- WORKDIR /var/build/bot/
19- RUN npm ci
20-
2115# Doing a fresh "npm install" on build to make sure the image is reproducible
2216WORKDIR /var/build/web/
2317RUN npm ci
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ service ssh start
66# /usr/sbin/sshd
77
88# Start both bot server and web server
9- ./node_modules/.bin/concurrently --kill-others --names " bot, web" " node bot " " node web"
9+ ./node_modules/.bin/concurrently --kill-others --names " web" " node web"
Original file line number Diff line number Diff line change 33# Aggregates all code into a single Docker image for export
44FROM node:12
55
6- # Copy the bot code to /var/bot/
7- ADD bot/ /var/build/bot/
8-
96# Copy the web server code to /var/web/
107ADD web/ /var/build/web/
118
@@ -14,10 +11,6 @@ ADD web/ /var/build/web/
1411ADD init.sh /var/build/
1512ADD sshd_config /var/build/
1613
17- # Doing a fresh "npm install" on build to make sure the image is reproducible
18- WORKDIR /var/build/bot/
19- RUN npm ci
20-
2114# Doing a fresh "npm install" on build to make sure the image is reproducible
2215WORKDIR /var/build/web/
2316RUN npm ci
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ service ssh start
66# /usr/sbin/sshd
77
88# Start both bot server and web server
9- ./node_modules/.bin/concurrently --kill-others --names " bot, web" " node bot " " node web"
9+ ./node_modules/.bin/concurrently --kill-others --names " web" " node web"
You can’t perform that action at this time.
0 commit comments