webrtc-sfu: fix broken ip detection due to base image switch

This commit is contained in:
chandi 2020-05-31 11:49:57 +02:00
parent 53a348fded
commit c0b05c5bf6

View File

@ -19,5 +19,10 @@ RUN cp config/default.example.yml config/production.yml \
EXPOSE 3008
# remove automatic IP detection (broken in alpine)
# and use sh instead of bash
RUN sed -i 's/CONTAINER_IP=.*/CONTAINER_IP=10.7.7.10/' /app/docker-entrypoint.sh \
&& sed -i 's/bash/sh/' /app/docker-entrypoint.sh
ENTRYPOINT [ "./docker-entrypoint.sh" ]
CMD [ "npm", "start" ]