Browse Source

Proper start command in docker file

James Quigley 6 years ago
parent
commit
17da654cea
1 changed files with 6 additions and 3 deletions
  1. 6 3
      Dockerfile

+ 6 - 3
Dockerfile View File

3
 # Install dependencies
3
 # Install dependencies
4
 RUN apt-get update --yes && apt-get upgrade --yes
4
 RUN apt-get update --yes && apt-get upgrade --yes
5
 RUN apt-get install git nodejs npm \
5
 RUN apt-get install git nodejs npm \
6
-libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev libpng-dev build-essential g++ \
7
-ffmpeg \
8
-redis-server --yes
6
+    libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev libpng-dev build-essential g++ \
7
+    ffmpeg \
8
+    redis-server --yes
9
 
9
 
10
 RUN ln -s `which nodejs` /usr/bin/node
10
 RUN ln -s `which nodejs` /usr/bin/node
11
 
11
 
20
 
20
 
21
 # Install dependencies
21
 # Install dependencies
22
 RUN npm install
22
 RUN npm install
23
+
24
+
25
+CMD [ "npm", "start" ]