playbooks/bifrost/app/Dockerfile

15 lines
315 B
Docker
Raw Normal View History

2020-05-04 11:34:09 +00:00
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"]