nginx-proxy-auto-docker/test/requirements/web/Dockerfile
Thomas LEVEIL d282c2481b TESTS: the web image can now handle concurrent connections
Using the python web framework [Flask](http://flask.pocoo.org/). As a side effect, headers printed out from the `/headers` end point get capitalized.
2017-03-08 21:24:59 +01:00

9 lines
262 B
Docker

# Docker Image running one (or multiple) webservers listening on all given ports from WEB_PORTS environment variable
FROM python:3
RUN pip install flask==0.12
COPY ./webserver.py /
COPY ./entrypoint.sh /
WORKDIR /opt
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]