forked from hsdp/python-cf-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (24 loc) · 735 Bytes
/
Dockerfile
File metadata and controls
24 lines (24 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM alpine:3.11
COPY requirements.txt /requirements.txt
COPY requirements-dev.txt /requirements-dev.txt
RUN apk --update --no-cache add \
openssl \
ca-certificates \
python3 \
python2 \
git \
make \
musl-dev \
linux-headers \
python3-dev \
python2-dev \
py2-pip \
openssl-dev \
libffi-dev \
gcc \
g++ && \
pip2 --no-cache-dir install -r /requirements.txt && \
pip2 --no-cache-dir install -r /requirements-dev.txt && \
python3 -m pip --no-cache-dir install -r /requirements.txt && \
python3 -m pip --no-cache-dir install -r /requirements-dev.txt && \
python3 -m pip --no-cache-dir install twine