1
0
mirror of https://github.com/thingsboard/thingsboard-gateway synced 2025-10-26 22:31:42 +08:00

removed module installation in order to avoid the issue with import of the custom converters/connectors

This commit is contained in:
zbeacon
2021-11-11 09:33:42 +02:00
parent 21a6b47f2b
commit 9202c8f4e4
2 changed files with 2 additions and 2 deletions

View File

@@ -21,6 +21,6 @@ ENV extensions /thingsboard_gateway/extensions
ENV logs /thingsboard_gateway/logs
RUN apt-get update && apt-get install gcc -y
RUN pip3 install importlib_metadata --user
RUN python /setup.py install && mkdir -p /default-config/config /default-config/extensions/ && cp -r /thingsboard_gateway/config/* /default-config/config/ && cp -r /thingsboard_gateway/extensions/* /default-config/extensions
RUN mkdir -p /default-config/config /default-config/extensions/ && cp -r /thingsboard_gateway/config/* /default-config/config/ && cp -r /thingsboard_gateway/extensions/* /default-config/extensions
VOLUME ["${configs}", "${extensions}", "${logs}"]
CMD [ "/bin/sh", "./start-gateway.sh" ]

View File

@@ -1,4 +1,4 @@
version: '2.2'
version: '3.0'
services:
tb-gateway:
restart: always