dockerfile with cryptography package
This commit is contained in:
parent
5b87d73e5e
commit
617f4b0ad1
11
Dockerfile
11
Dockerfile
@ -1,11 +1,18 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
|
|
||||||
|
RUN apk add --no-cache --update \
|
||||||
|
gcc \
|
||||||
|
musl-dev \
|
||||||
|
python3-dev \
|
||||||
|
libffi-dev \
|
||||||
|
openssl-dev \
|
||||||
|
python3
|
||||||
|
|
||||||
ADD . /moto/
|
ADD . /moto/
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
WORKDIR /moto/
|
WORKDIR /moto/
|
||||||
RUN apk add --no-cache python3 && \
|
RUN python3 -m ensurepip && \
|
||||||
python3 -m ensurepip && \
|
|
||||||
rm -r /usr/lib/python*/ensurepip && \
|
rm -r /usr/lib/python*/ensurepip && \
|
||||||
pip3 --no-cache-dir install --upgrade pip setuptools && \
|
pip3 --no-cache-dir install --upgrade pip setuptools && \
|
||||||
pip3 --no-cache-dir install ".[server]"
|
pip3 --no-cache-dir install ".[server]"
|
||||||
|
Loading…
Reference in New Issue
Block a user