Commit c89fb960 authored by JackV's avatar JackV

Improve docker integration

parent c1554129
......@@ -4,10 +4,11 @@ RUN mkdir bits
COPY . /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 -r requirements.txt && \
apk del python3-dev py3-cffi alpine-sdk
RUN mkdir -p /var/log/bitsd
EXPOSE 8008
EXPOSE 8888
......
......@@ -67,7 +67,7 @@ def main():
persistence.start()
server.start()
listener.start()
#listener.start()
mqtt_listener.start()
# Add signal handlers...
......
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