Merge pull request #88 from Superalgos/develop

Update docker setup
This commit is contained in:
Barry Low authored and GitHub committed 2019-01-16 10:28:00 -08:00
commit 2cc264209f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ COPY package.json /var/www/app/package.json
# Install dependencies
RUN npm install
RUN npm audit fix
# RUN npm audit fix
# Copy application code
COPY . /var/www/app
+1 -1
View File
@@ -11,7 +11,7 @@ services:
- /var/www/app/node_modules
working_dir: /var/www/app
restart: always
command: node -r dotenv/config src/index.js
command: node --require @babel/register --require dotenv/config src/index.js
expose:
- 4001
network_mode: webproxy