contentdb/Dockerfile

18 lines
330 B
Docker
Raw Normal View History

2019-01-09 23:29:05 +01:00
FROM python:3.6
2019-01-09 22:58:11 +01:00
WORKDIR /home/cdb
COPY requirements.txt requirements.txt
RUN pip install -r ./requirements.txt
RUN pip install gunicorn
RUN pip install psycopg2
COPY runprodguni.sh ./
COPY rundebug.sh ./
2019-01-09 22:58:11 +01:00
RUN chmod +x runprodguni.sh
COPY setup.py ./setup.py
COPY app app
COPY migrations migrations
COPY config.cfg ./config.cfg