update ci config

This commit is contained in:
Sam 2018-09-09 13:37:17 +02:00
parent 97005599c9
commit 464b77778c
2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@ services:
fittrackee-db:
container_name: fittrackee-db
build: https://github.com/SamR1/mpwo.git#master:fittrackee_api/db
build: https://github.com/SamR1/mpwo.git#${TRAVIS_BRANCH}:fittrackee_api/db
ports:
- 5435:5432
environment:
@ -13,7 +13,7 @@ services:
fittrackee-api:
container_name: fittrackee-api
build: https://github.com/SamR1/mpwo.git#master:fittrackee_api
build: https://github.com/SamR1/mpwo.git#${TRAVIS_BRANCH}:fittrackee_api
ports:
- 5001:5000
environment:
@ -30,7 +30,7 @@ services:
fittrackee-client:
container_name: fittrackee-client
build:
context: https://github.com/SamR1/mpwo.git
context: https://github.com/SamR1/mpwo.git#${TRAVIS_BRANCH}
dockerfile: ./fittrackee_client/Dockerfile
args:
- NODE_ENV=development

View File

@ -11,6 +11,7 @@ COPY ./Pipfile /usr/src/app/Pipfile
COPY ./Pipfile.lock /usr/src/app/Pipfile.lock
# install requirements
RUN pip install --upgrade pip
RUN pip install pipenv
RUN pipenv install --system --dev