2017-11-24 03:23:52 +00:00
|
|
|
FROM python:3 as app
|
2017-11-24 19:39:20 +00:00
|
|
|
ENV PYTHONUNBUFFERED 1
|
2017-11-24 03:23:52 +00:00
|
|
|
RUN pip install --upgrade pipenv gunicorn
|
|
|
|
WORKDIR /app
|
|
|
|
COPY Pipfile /app/
|
|
|
|
RUN pipenv install --deploy --system
|
|
|
|
ADD manage.py /app/
|
|
|
|
ADD api /app/api
|
|
|
|
ADD babybuddy /app/babybuddy
|
|
|
|
ADD core /app/core
|
|
|
|
ADD dashboard /app/dashboard
|
|
|
|
ADD reports /app/reports
|
2018-11-04 16:37:33 +00:00
|
|
|
ADD static /app/static
|
2017-11-24 03:23:52 +00:00
|
|
|
ADD etc/gunicorn.py /app/
|