mybuddy/Dockerfile

17 lines
389 B
Docker
Raw Normal View History

2020-12-03 04:42:06 +00:00
FROM python:3.8-slim as app
ENV PYTHONUNBUFFERED 1
2017-11-24 03:23:52 +00:00
RUN pip install --upgrade pipenv gunicorn
WORKDIR /app
COPY Pipfile /app/
2020-12-03 04:42:06 +00:00
RUN pipenv lock
2017-11-24 03:23:52 +00:00
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
2021-02-20 15:48:54 +00:00
ADD locale /app/locale
2017-11-24 03:23:52 +00:00
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/