Files
thePlug/example-http-one/Dockerfile

10 lines
166 B
Docker

FROM python:3.14-slim
WORKDIR /srv/www
COPY index.html ./
EXPOSE 8080
CMD ["python", "-m", "http.server", "8080", "--bind", "0.0.0.0", "--directory", "/srv/www"]