Sign inSign up

ea1het/dxspots

By ea1het

•Updated about 9 years ago

DXSPOTS is a Python 3 based microservice that implements websockets plus an API endpoint for test.

Image
0

1.5K

ea1het/dxspots repository overview

|

⁠What is this container for?

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.

⁠Dockerfile

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

Tag summary

Content type

Image

Digest

Size

25 MB

Last updated

about 9 years ago

docker pull ea1het/dxspots