Skip to content

Commit

Permalink
Removes dependence on cr-connect-python-base for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlouie committed Jun 16, 2020
1 parent 1950638 commit 67b0503
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
FROM sartography/cr-connect-python-base
FROM python:3.7-slim

WORKDIR /app
COPY Pipfile Pipfile.lock /app/

RUN set -xe \
&& pip install pipenv \
&& apt-get update -q \
&& apt-get install -y -q \
gcc python3-dev libssl-dev \
curl postgresql-client git-core \
gunicorn3 postgresql-client \
&& 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/* \
&& mkdir -p /app \
&& useradd _gunicorn --no-create-home --user-group

COPY . /app/
Expand Down

0 comments on commit 67b0503

Please sign in to comment.