cr-connect-workflow/Dockerfile

24 lines
513 B
Docker
Raw Permalink Normal View History

2022-05-06 13:54:27 +00:00
FROM ghcr.io/sartography/python:3.9
2022-05-05 23:46:21 +00:00
RUN pip install pipenv
RUN useradd _gunicorn --no-create-home --user-group
RUN apt-get update && \
apt-get install -y -q \
gcc libssl-dev \
curl postgresql-client git-core \
gunicorn3 postgresql-client
WORKDIR /app
2022-05-05 23:46:21 +00:00
COPY Pipfile Pipfile.lock /app/
RUN pipenv install
2020-05-24 16:37:11 +00:00
RUN set -xe \
&& apt-get remove -y gcc python3-dev libssl-dev \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
COPY . /app/
2020-05-24 16:37:11 +00:00
WORKDIR /app