Commit 0f68ec31 authored by David Haynes's avatar David Haynes 🙆

DOCKER

parent 701ca782
Pipeline #1497 passed with stage
in 33 seconds
FROM node:latest
WORKDIR /usr/masonstrap
COPY yarn.lock .
COPY package.json .
RUN yarn
COPY . .
version: '2'
services:
web:
build: .
command: npm run dev
volumes:
- .:/usr/masonstrap/
- /usr/masonstrap/node_modules
ports:
- "8000:8000"
......@@ -30,6 +30,7 @@
"build-masonstrap": "npm-run-all copy-js copy-fonts sass-lint sass-compile sass-prefix sass-minify",
"sass-watch": "onchange './masonstrap/*.scss' -- npm run build-masonstrap",
"http": "http-server -p 8000",
"start": "npm-run-all copy-js copy-fonts sass-watch"
"start": "npm-run-all copy-js copy-fonts sass-watch",
"dev": "npm-run-all --parallel start http"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment