This commit is contained in:
Ray Ozzie
2016-03-21 21:25:53 -07:00
parent 0631b34d21
commit ae5b7338f5
3 changed files with 168 additions and 2 deletions

View File

@@ -8,10 +8,10 @@ COPY . ~/ttn-gateway
# Build the gateway
WORKDIR ~/ttn-gateway
RUN ./install.sh
RUN ./resin-install.sh
# Make sure we start up within the bin directory
WORKDIR /opt/ttn-gateway/bin
# Start it up
CMD ["sh", "-c", "./start.sh"]
CMD ["sh", "-c", "./resin-run.sh"]