Merge pull request #1214 from JackDanger/jack/dockerfile-with-cryptography-package

dockerfile with cryptography package
This commit is contained in:
Jack Danger 2017-09-27 14:07:32 -07:00 committed by GitHub
commit 2cb0177036

View File

@ -1,11 +1,18 @@
FROM alpine:3.6
RUN apk add --no-cache --update \
gcc \
musl-dev \
python3-dev \
libffi-dev \
openssl-dev \
python3
ADD . /moto/
ENV PYTHONUNBUFFERED 1
WORKDIR /moto/
RUN apk add --no-cache python3 && \
python3 -m ensurepip && \
RUN python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 --no-cache-dir install --upgrade pip setuptools && \
pip3 --no-cache-dir install ".[server]"