Skip to content

Commit

Permalink
Use python3.6-buster base image (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre authored Nov 1, 2021
1 parent d0cfeb7 commit 35b03e6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# To run: docker run -v /path/to/wsgi.py:/var/www/sheepdog/wsgi.py --name=sheepdog -p 81:80 sheepdog
# To check running container: docker exec -it sheepdog /bin/bash

FROM quay.io/cdis/python-nginx:pybase3-1.6.2
FROM quay.io/cdis/python:python3.6-buster

RUN apk update \
&& apk add postgresql-libs postgresql-dev libffi-dev libressl-dev \
&& apk add linux-headers musl-dev gcc libxml2-dev libxslt-dev \
&& apk add curl bash git vim
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential libffi-dev musl-dev gcc libxml2-dev libxslt-dev \
curl bash git vim

COPY . /sheepdog
COPY ./deployment/uwsgi/uwsgi.ini /etc/uwsgi/uwsgi.ini
Expand Down

0 comments on commit 35b03e6

Please sign in to comment.