8 lines
234 B
Docker
8 lines
234 B
Docker
# Docker Image running one (or multiple) webservers listening on all given ports from WEB_PORTS environment variable
|
|
|
|
FROM python:3
|
|
COPY ./webserver.py /
|
|
COPY ./entrypoint.sh /
|
|
WORKDIR /opt
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
|
|