Skip to content

Commit

Permalink
feat: add node in docker-compose
Browse files Browse the repository at this point in the history
for production building
  • Loading branch information
mtuchi committed May 15, 2020
1 parent fc812a2 commit 3e8a784
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ services:
networks:
- default

node:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/node:12'
# command: sh -c 'npm ci && npm run-script dev-server'
# ports:
# - 3000:3000
volumes:
- .:/var/www
php:
build:
context: .
Expand Down

0 comments on commit 3e8a784

Please sign in to comment.