Commit e3b63a30 authored by Álax Alves's avatar Álax Alves

Setting inter-environment communication

parent ba4be718
......@@ -4,9 +4,7 @@ WORKDIR /smi-front
COPY . /smi-front
RUN yarn global add @vue/cli \
&& yarn install --verbose
RUN yarn global add @vue/cli && \
yarn install --verbose
EXPOSE 8080
CMD yarn run dev
CMD ["sh", "script/start.sh"]
version: '3.5'
services:
front-end:
front:
container_name: front
build: .
container_name: smi-front
image: lappis/smi-front:0.9
ports:
- 8080:8080
volumes:
- .:/smi-fronts
- .:/smi-front
- yarn_cache:/smi-front/node_modules
networks:
- default
- smi-master
- smi-network
networks:
smi-master:
smi-network:
external: true
volumes:
yarn_cache:
......@@ -5,7 +5,6 @@
"author": "LAPPIS",
"private": true,
"scripts": {
"dev": "node build/dev-server.js",
"start": "node build/dev-server.js",
"build": "node build/build.js",
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
......
#!/bin/bash
yarn check || yarn install
yarn start
This diff is collapsed.
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