This commit is contained in:
Ray Ozzie 2016-03-21 14:41:24 -07:00
parent ec9e30ea58
commit 0c0d3e6dab
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ WORKDIR ~/ttn-gateway
RUN ./install.sh
# Make sure we start up within the bin directory
WORKDIR ~/opt/ttn-gateway/bin
WORKDIR /opt/ttn-gateway/bin
# Start it up
CMD ["sh", "-c", "env && ./start.sh"]
CMD ["sh", "-c", "pwd && ls /opt/ttn-gateway/bin && env && ./start.sh"]

View File

@ -1,4 +1,4 @@
FROM resin/raspberrypi-golang
FROM resin/raspberrypi-buildpack-deps
# Enable systemd
ENV INITSYSTEM on