Dockerfile 298 B

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