(apple ssl) model write method after the OpenSSL one for consistency

More test code for #140.
This commit is contained in:
Benjamin Sergeant
2020-01-10 18:32:34 -08:00
parent 87625a8805
commit 4cb3326078
11 changed files with 124 additions and 23 deletions

View File

@ -1,8 +1,14 @@
FROM python:3.8.0-alpine3.10
RUN pip install websockets
COPY ws_proxy.py /usr/bin
RUN chmod +x /usr/bin/ws_proxy.py
COPY *.py /usr/bin/
COPY entrypoint.sh /usr/bin/
RUN chmod +x /usr/bin/*.py
EXPOSE 8765
CMD ["python", "/usr/bin/ws_proxy.py"]
RUN mkdir /certs
COPY *.pem /certs/
WORKDIR /certs
EXPOSE 8765 8766
CMD ["sh", "/usr/bin/entrypoint.sh"]