Kinda dumb, docker is a non-option lol
This commit is contained in:
parent
14435d2345
commit
db3cff0aa0
|
@ -1,15 +0,0 @@
|
|||
services:
|
||||
nodejs:
|
||||
image: node:latest
|
||||
container_name: nodejs_app
|
||||
network_mode: host
|
||||
restart: on-failure
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
max_attempts: 3
|
||||
window: 3600s
|
||||
volumes:
|
||||
- .:/app
|
||||
working_dir: /app
|
||||
command: sh -c "npm install && npm start"
|
Loading…
Reference in a new issue