Add docker-compose configuration
This commit is contained in:
parent
5e82538fd5
commit
620cf76c58
4 changed files with 152 additions and 16 deletions
19
Dockerfile.dev
Normal file
19
Dockerfile.dev
Normal file
|
@ -0,0 +1,19 @@
|
|||
# -*- mode: dockerfile -*-
|
||||
# vi: set ft=dockerfile :
|
||||
|
||||
FROM quay.io/quay/quay-base:latest
|
||||
|
||||
WORKDIR $QUAYDIR
|
||||
|
||||
COPY requirements.txt requirements-tests.txt ./
|
||||
|
||||
# Put the virtualenv outside the source directory. This lets us mount
|
||||
# the Quay source as a volume for local development.
|
||||
RUN virtualenv --distribute /venv \
|
||||
&& /venv/bin/pip install -r requirements.txt \
|
||||
&& /venv/bin/pip install -r requirements-tests.txt \
|
||||
&& /venv/bin/pip freeze
|
||||
|
||||
ENV PATH /venv/bin:${PATH}
|
||||
|
||||
RUN ln -s $QUAYCONF /conf
|
Reference in a new issue