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,9 +3,9 @@ FROM ubuntu:16.04
3 3
 # Install dependencies
4 4
 RUN apt-get update --yes && apt-get upgrade --yes
5 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 10
 RUN ln -s `which nodejs` /usr/bin/node
11 11
 
@@ -20,3 +20,6 @@ WORKDIR /home/audiogram/audiogram
20 20
 
21 21
 # Install dependencies
22 22
 RUN npm install
23
+
24
+
25
+CMD [ "npm", "start" ]