moto/Dockerfile

13 lines
255 B
Docker
Raw Normal View History

FROM python:3.7-slim
2017-09-27 21:07:18 +00:00
2015-09-15 22:25:12 +00:00
ADD . /moto/
ENV PYTHONUNBUFFERED 1
WORKDIR /moto/
RUN pip3 --no-cache-dir install --upgrade pip setuptools && \
2017-09-19 08:29:05 +00:00
pip3 --no-cache-dir install ".[server]"
2015-09-15 22:25:12 +00:00
ENTRYPOINT ["/usr/local/bin/moto_server", "-H", "0.0.0.0"]
2015-09-15 22:25:12 +00:00
EXPOSE 5000