diff options
Diffstat (limited to 'Dockerfile')
| l---------[-rw-r--r--] | Dockerfile | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/Dockerfile b/Dockerfile index 6eb2f6d8..9b50dcb7 100644..120000 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1 @@ -FROM python:3.7-alpine - -RUN apk add python3-dev git libpq postgresql-dev gcc cmake autoconf automake musl-dev -RUN python3 -m pip install pipenv - -ENV PIPENV_HIDE_EMOJIS=1 -ENV PIPENV_IGNORE_VIRTUALENVS=1 -ENV PIPENV_MAX_SUBPROCESS=2 -ENV PIPENV_NOSPIN=1 -ENV PIPENV_VENV_IN_PROJECT=1 - -COPY . /app -WORKDIR /app - -RUN pipenv install --deploy --system -RUN apk del git gcc cmake autoconf automake - -CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:application"] +docker/app/alpine/3.7/Dockerfile
\ No newline at end of file |