Merge pull request #48 from github/primetheus/dockerfile
fixing broken pipenv install
This commit is contained in:
Коммит
100c30e19d
16
Dockerfile
16
Dockerfile
|
@ -1,4 +1,3 @@
|
|||
|
||||
FROM python:3-alpine
|
||||
|
||||
LABEL version="2.0"
|
||||
|
@ -8,8 +7,19 @@ MAINTAINER GitHub Services <services@github.com>
|
|||
|
||||
COPY . /opt/github-team-sync
|
||||
WORKDIR /opt/github-team-sync
|
||||
|
||||
RUN apk add --no-cache libxml2-dev libxslt-dev pipenv python3-dev make gcc libffi-dev build-base
|
||||
|
||||
RUN apk add --no-cache \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
python3-dev \
|
||||
make \
|
||||
gcc \
|
||||
libffi-dev \
|
||||
build-base \
|
||||
openssl-dev
|
||||
|
||||
RUN pip install --no-cache-dir pipenv
|
||||
|
||||
RUN pipenv install
|
||||
|
||||
CMD pipenv run flask run
|
||||
|
|
Загрузка…
Ссылка в новой задаче