DXSPOTS is a Python 3 based microservice that implements websockets plus an API endpoint for test.
1.5K
DXSPOTS is a microservice that implements websockets in Python 3 + Flask plus some API endopoints. This websocket is only meant to be used on frontend development only.
FROM alpine:3.6
RUN apk add --no-cache bash htop python3 py-gunicorn py3-greenlet libevent && \
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 install --upgrade pip setuptools && \
if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
rm -r /root/.cache && \
mkdir /run/microservice
EXPOSE 5001
WORKDIR /run/microservice
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY . /run/microservice
ENTRYPOINT /run/microservice/boot.sh
Content type
Image
Digest
Size
25 MB
Last updated
about 9 years ago
docker pull ea1het/dxspots