Skip to content

Instantly share code, notes, and snippets.

@taross-f
Created September 28, 2019 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taross-f/d92851f1c8112b3c3b757d76fd67c692 to your computer and use it in GitHub Desktop.
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
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