Commit c89fb960 authored by JackV's avatar JackV

Improve docker integration

parent c1554129
...@@ -4,10 +4,11 @@ RUN mkdir bits ...@@ -4,10 +4,11 @@ RUN mkdir bits
COPY . /bits/ COPY . /bits/
WORKDIR /bits WORKDIR /bits
RUN apk -U add python3 py3-pip python3-dev py3-cffi alpine-sdk && \ RUN apk -U add python3 py3-pip python3-dev py3-cffi alpine-sdk mariadb-connector-c-dev && \
pip3 install --upgrade pip && \ pip3 install --upgrade pip && \
pip3 install -r requirements.txt && \ pip3 install -r requirements.txt && \
apk del python3-dev py3-cffi alpine-sdk apk del python3-dev py3-cffi alpine-sdk
RUN mkdir -p /var/log/bitsd
EXPOSE 8008 EXPOSE 8008
EXPOSE 8888 EXPOSE 8888
......
...@@ -67,7 +67,7 @@ def main(): ...@@ -67,7 +67,7 @@ def main():
persistence.start() persistence.start()
server.start() server.start()
listener.start() #listener.start()
mqtt_listener.start() mqtt_listener.start()
# Add signal handlers... # Add signal handlers...
......
...@@ -2,3 +2,5 @@ futures ...@@ -2,3 +2,5 @@ futures
markdown markdown
sqlalchemy>=0.7 sqlalchemy>=0.7
tornado==4.* tornado==4.*
paho-mqtt
mysqlclient
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment