simplify build script

This commit is contained in:
Ray Ozzie
2016-03-25 10:38:57 -04:00
parent 715f30310c
commit f1a2c8ef95
4 changed files with 22 additions and 55 deletions

View File

@@ -9,8 +9,8 @@ WORKDIR /ttn-gateway
RUN ./build.sh
# Copy the run shell script after build, so we can modify it without rebuilding
COPY run.sh /opt/ttn-gateway/bin/run.sh
WORKDIR /opt/ttn-gateway/bin
COPY run.sh /opt/ttn-gateway/run.sh
WORKDIR /opt/ttn-gateway
# Start it up
CMD ["sh", "-c", "./run.sh"]