mybuddy/Dockerfile

17 lines
398 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
2021-05-31 01:36:21 +00:00
COPY manage.py /app/
COPY api /app/api
COPY babybuddy /app/babybuddy
COPY core /app/core
COPY dashboard /app/dashboard
COPY locale /app/locale
COPY reports /app/reports
COPY static /app/static
COPY etc/gunicorn.py /app/