moto/Dockerfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
364 B
Docker
Raw Normal View History

FROM python:3.11-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
2023-06-21 09:50:44 +00:00
# Install cURL
RUN apt-get update && \
apt-get install -y curl && \
rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/usr/local/bin/moto_server", "-H", "0.0.0.0"]
2015-09-15 22:25:12 +00:00
EXPOSE 5000