diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..21f35ed --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM python:3.7 + +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 ./ +RUN chmod +x runprodguni.sh + +COPY setup.py ./setup.py +COPY app app +COPY migrations migrations +COPY config.prod.cfg ./config.prod.cfg + +EXPOSE 5123 +ENTRYPOINT ["./runprodguni.sh"] |
