cr-connect-workflow/Dockerfile

16 lines
349 B
Docker
Raw Normal View History

2020-06-17 02:41:02 +00:00
FROM sartography/cr-connect-python-base
WORKDIR /app
COPY Pipfile Pipfile.lock /app/
2020-05-24 16:37:11 +00:00
RUN set -xe \
&& pipenv install --dev \
&& apt-get remove -y gcc python3-dev libssl-dev \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* \
&& useradd _gunicorn --no-create-home --user-group
COPY . /app/
2020-05-24 16:37:11 +00:00
WORKDIR /app