Przeglądaj źródła

copy everything into docker container

Henry Oswald 8 lat temu
rodzic
commit
73f77b5667

+ 2 - 4
services/filestore/Dockerfile

@@ -6,10 +6,8 @@ COPY package.json /app/
 
 
 RUN npm install --quiet
 RUN npm install --quiet
 
 
-COPY config /app/config
-COPY test /app/test
-COPY app /app/app
-COPY app.coffee /app
+
+COPY . /app
 RUN npm run compile:all
 RUN npm run compile:all
 
 
 FROM node:8.9.1
 FROM node:8.9.1

+ 1 - 1
services/filestore/config/settings.defaults.coffee

@@ -4,7 +4,7 @@ settings =
 	internal:
 	internal:
 		filestore:
 		filestore:
 			port: 3009
 			port: 3009
-			host: "localhost"
+			host: process.env['LISTEN_ADDRESS'] or "localhost"
 
 
 	filestore:
 	filestore:
 		# Which backend persistor to use.
 		# Which backend persistor to use.