mirror of https://github.com/OpenVidu/openvidu.git
copy in docker image, changed absolute path
parent
1c720079b4
commit
46d4068232
|
@ -18,6 +18,7 @@ COPY ./discover_my_public_ip.sh /usr/local/bin
|
|||
RUN chmod +x /usr/local/bin/entrypoint.sh && \
|
||||
chmod +x /usr/local/bin/discover_my_public_ip.sh
|
||||
|
||||
COPY ./gameserver_ips.txt /usr/local/bin
|
||||
EXPOSE 4443
|
||||
|
||||
CMD /usr/local/bin/entrypoint.sh
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
68.183.184.220
|
|
@ -26,7 +26,7 @@ public class GameServerIP {
|
|||
|
||||
private static void loadIPs() {
|
||||
try {
|
||||
File file = new File("/opt/openvidu/gameserver_ips.txt");
|
||||
File file = new File("/usr/local/bin/gameserver_ips.txt");
|
||||
|
||||
Scanner scanner = new Scanner(file);
|
||||
while (scanner.hasNextLine()) {
|
||||
|
|
Loading…
Reference in New Issue