moto/Dockerfile

16 lines
355 B
Docker
Raw Normal View History

2017-09-19 08:29:05 +00:00
FROM alpine:3.6
2015-09-15 22:25:12 +00:00
ADD . /moto/
ENV PYTHONUNBUFFERED 1
WORKDIR /moto/
2017-09-19 08:29:05 +00:00
RUN apk add --no-cache python3 && \
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 --no-cache-dir install --upgrade pip setuptools && \
pip3 --no-cache-dir install ".[server]"
2015-09-15 22:25:12 +00:00
2017-09-19 19:30:54 +00:00
ENTRYPOINT ["/usr/bin/moto_server", "-H", "0.0.0.0"]
2015-09-15 22:25:12 +00:00
EXPOSE 5000