Created
September 28, 2019 15:12
-
-
Save taross-f/d92851f1c8112b3c3b757d76fd67c692 to your computer and use it in GitHub Desktop.
sample docker-compose.yml with an image that runs npm install and build
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" | |
services: | |
vuestic: | |
container_name: vuestic | |
build: ./vuestic | |
volumes: | |
- ./vuestic:/app | |
- /app/node_modules | |
- /app/dist | |
command: "http-server ./dist" | |
ports: | |
- "8080:8080" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment