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 14:07:18 -07:00
2015-09-15 18:25:12 -04:00
ADD . /moto/
ENV PYTHONUNBUFFERED 1
WORKDIR /moto/
RUN pip3 --no-cache-dir install --upgrade pip setuptools && \
2017-09-19 09:29:05 +01:00
pip3 --no-cache-dir install ".[server]"
2015-09-15 18:25:12 -04:00
2023-06-21 10:50:44 +01: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 18:25:12 -04:00
EXPOSE 5000