Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ateway into develop/2.4-python
  • Loading branch information
imbeacon committed Jul 2, 2020
2 parents c5a587f + 1db9ef9 commit f18c5c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if [ ! -f ${firstlaunch} ]; then\n\
touch ${firstlaunch}\n\
echo "#Remove this file only if you want to recreate default config files! This will overwrite exesting files" > ${firstlaunch}\n\
fi\n\
echo "nameserver 8.8.8.8" >> /etc/resolv.conf\n\
\n\
/usr/bin/python3 -c "from thingsboard_gateway.tb_gateway import daemon; daemon()"\n'\
>> start-gateway.sh
Expand All @@ -30,6 +31,7 @@ RUN mkdir -p /default-config/config /default-config/extensions/
RUN cp -r /etc/thingsboard-gateway/config/* /default-config/config/
RUN cp -r /var/lib/thingsboard_gateway/extensions/* /default-config/extensions/

ENV PATH="/root/.local/bin:$PATH"
ENV configs /etc/thingsboard-gateway/config
ENV extensions /var/lib/thingsboard_gateway/extensions
ENV logs /var/log/thingsboard-gateway
Expand Down

0 comments on commit f18c5c2

Please sign in to comment.