Dockerfile changes

This commit is contained in:
Fergal Moran
2015-10-30 19:41:20 +00:00
parent 5be201424e
commit 6db0fd4357
2 changed files with 3 additions and 2 deletions

View File

@@ -13,10 +13,10 @@ ADD requirements.txt /code/
ADD server.py /code/ ADD server.py /code/
ADD ice_relay.py /code/ ADD ice_relay.py /code/
ADD static /code/static/ ADD static /code/static/
ADD util /code/util/
ADD templates /code/templates/ ADD templates /code/templates/
ADD dss.radio.conf /code/ ADD dss.radio.conf /code/
# Install tornado
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
EXPOSE 8888 EXPOSE 8888

View File

@@ -92,6 +92,7 @@ relay = IceRelay(options=options)
def main(): def main():
if relay.channel_open(): if relay.channel_open():
logging.error("Starting relay")
relay.start() relay.start()
else: else:
logging.error("IceCast relay failed to start") logging.error("IceCast relay failed to start")