Created
December 18, 2018 23:15
-
-
Save vschoener/0e1777b9374dbdbcdd14dd801ba64d83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
services: | |
app: | |
container_name: dockertsdev_app | |
command: npm run start:dev | |
build: . | |
volumes: | |
- .:/app | |
# Don't forget this part, it's really important | |
- node_modules:/app/node_modules | |
ports: | |
- 8080:8080 | |
volumes: | |
# We create a volume for the node_modules folder | |
node_modules: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment