moto/Dockerfile
redyvon 7be39844bb
Update Dockerfile
use python:3.7-slim image to avoid packages building steps for alpine and have a smaller image size
2020-04-30 19:18:08 +02:00

13 lines
255 B
Docker

FROM python:3.7-slim
ADD . /moto/
ENV PYTHONUNBUFFERED 1
WORKDIR /moto/
RUN pip3 --no-cache-dir install --upgrade pip setuptools && \
pip3 --no-cache-dir install ".[server]"
ENTRYPOINT ["/usr/local/bin/moto_server", "-H", "0.0.0.0"]
EXPOSE 5000