Browse Source

Add in bash and symlink /usr/bin/python

Pip3 doesn't need to be symlinked as the creation of /usr/bin/pip is
done through installation of setuptools (or the pip upgrade).
pull/795/head
Harm Weites 4 years ago
parent
commit
8232a6b035
1 changed files with 2 additions and 1 deletions
  1. 3
      app/Dockerfile

3
app/Dockerfile

@ -9,8 +9,9 @@ ENV PYTHONUNBUFFERED 1
COPY . /app/
RUN apk add -U python3 python3-dev libpq postgresql-dev unixodbc-dev musl-dev g++ libffi-dev \
RUN apk add -U bash python3 python3-dev libpq postgresql-dev unixodbc-dev musl-dev g++ libffi-dev \
&& pip3 install --upgrade pip setuptools \
&& pip3 install --no-cache-dir -r requirements.txt \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& apk del python3-dev postgresql-dev unixodbc-dev musl-dev g++ libffi-dev
Loading…
Cancel
Save