uva-covid19-testing-communi.../Dockerfile

21 lines
394 B
Docker
Raw Permalink Normal View History

FROM python:3.8-slim
2020-09-22 18:27:28 +00:00
RUN apt-get update -q \
&& apt-get install -y -q \
gcc \
libssl-dev \
curl \
postgresql-client \
gunicorn3
RUN useradd _gunicorn --no-create-home --user-group
COPY . /app/
WORKDIR /app
2020-09-22 18:27:28 +00:00
RUN chmod +x "/app/docker_run.sh" \
&& pip install pipenv \
&& pipenv install --dev --deploy --system --ignore-pipfile
2020-09-17 16:00:38 +00:00
2020-09-22 18:27:28 +00:00
ENTRYPOINT ["/app/docker_run.sh"]