Dockerfile 269 B

123456789
  1. # Docker Image running one (or multiple) webservers listening on all given ports from WEB_PORTS environment variable
  2. FROM python:3-alpine
  3. RUN apk add --no-cache bash
  4. COPY ./webserver.py /
  5. COPY ./entrypoint.sh /
  6. WORKDIR /opt
  7. ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]