Init express
This commit is contained in:
@@ -3,13 +3,15 @@ version: "3.7"
|
||||
services:
|
||||
server:
|
||||
image: node:16.9.0-alpine
|
||||
command: sh -c "npm install && node ."
|
||||
command: sh -c "npm install && npx nodemon ."
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- "mysql"
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./:/app
|
||||
ports:
|
||||
- "3030:3030"
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user