2018-12-22 15:08:04 +00:00
|
|
|
FROM python:3-alpine
|
|
|
|
LABEL com.abhinavsingh.name="abhinavsingh/proxy.py" \
|
|
|
|
com.abhinavsingh.description="Lightweight HTTP, HTTPS, WebSockets Proxy Server in a single Python file" \
|
|
|
|
com.abhinavsingh.url="https://github.com/abhinavsingh/proxy.py" \
|
|
|
|
com.abhinavsingh.vcs-url="https://github.com/abhinavsingh/proxy.py" \
|
|
|
|
com.abhinavsingh.docker.cmd="docker run -it --rm -p 8899:8899 abhinavsingh/proxy.py"
|
|
|
|
|
|
|
|
COPY proxy.py /app/
|
|
|
|
EXPOSE 8899/tcp
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
ENTRYPOINT [ "./proxy.py" ]
|
|
|
|
CMD [ "--host=0.0.0.0", \
|
2019-08-23 00:09:35 +00:00
|
|
|
"--ipv4" ]
|