Bifrost deployed using ansible

This commit is contained in:
tanshu
2020-05-04 17:04:09 +05:30
parent fc8a7795e6
commit 02cc1dafe5
7 changed files with 164 additions and 2 deletions

14
bifrost/app/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python:latest
LABEL maintainer="Amritanshu <docker@tanshu.com>"
RUN git clone https://git.tanshu.com/tanshu/bifrost.git /app && pip install --no-cache-dir --requirement /app/requirements.txt && pip install /app
COPY ./.env /app
WORKDIR /app/
ENV PYTHONPATH=/app
EXPOSE 80
CMD ["python", "-m", "bifrost"]