Commit c862b914 authored by Andre de Sousa's avatar Andre de Sousa

ADD: docker environment

parent 29a0de56
FROM node:8.12
WORKDIR /smi-front
COPY . /smi-front
RUN npm i -g vue && npm install
EXPOSE 8080
CMD npm run dev
version: '3.5'
services:
front-end:
build: . # chnge to image
container_name: smi-front
ports:
- 8080:8080
volumes:
- .:/smi-fronts
command: npm run build # fix
version: '3.5'
services:
front-end:
build: .
container_name: smi-front
ports:
- 8080:8080
volumes:
- .:/smi-fronts
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