Collapse Dockerfiles into one fixes #9
This commit is contained in:
Родитель
83f9505d02
Коммит
28f7dd9f27
|
@ -1,7 +0,0 @@
|
|||
FROM app:build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./requirements_dev.txt /app/requirements_dev.txt
|
||||
|
||||
RUN pip install -r requirements_dev.txt --no-cache-dir --disable-pip-version-check
|
|
@ -1,2 +1,5 @@
|
|||
Django==1.10.3
|
||||
coverage==4.2
|
||||
flake8==3.0.4
|
||||
ipdb==0.10.1
|
||||
psycopg2==2.6.1
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
ipdb==0.10.1
|
||||
coverage==4.2
|
||||
flake8==3.0.4
|
|
@ -1,5 +1,5 @@
|
|||
app:
|
||||
image: app:dev
|
||||
image: app:build
|
||||
env_file: .env
|
||||
stdin_open: true
|
||||
tty: true
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#/bin/bash
|
||||
./scripts/echo_version_json.sh > ./app/version.json
|
||||
docker build -f app/Dockerfile -t app:build app/
|
||||
docker build -f app/Dockerfile.dev -t app:dev app/
|
||||
|
|
Загрузка…
Ссылка в новой задаче