2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user