IXWebSocket/test/compatibility/python/websockets/Dockerfile
2020-01-10 18:32:34 -08:00

15 lines
241 B
Docker

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