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 && \
|
RUN chmod +x /usr/local/bin/entrypoint.sh && \
|
||||||
chmod +x /usr/local/bin/discover_my_public_ip.sh
|
chmod +x /usr/local/bin/discover_my_public_ip.sh
|
||||||
|
|
||||||
|
COPY ./gameserver_ips.txt /usr/local/bin
|
||||||
EXPOSE 4443
|
EXPOSE 4443
|
||||||
|
|
||||||
CMD /usr/local/bin/entrypoint.sh
|
CMD /usr/local/bin/entrypoint.sh
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
68.183.184.220
|
|
@ -26,7 +26,7 @@ public class GameServerIP {
|
||||||
|
|
||||||
private static void loadIPs() {
|
private static void loadIPs() {
|
||||||
try {
|
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);
|
Scanner scanner = new Scanner(file);
|
||||||
while (scanner.hasNextLine()) {
|
while (scanner.hasNextLine()) {
|
||||||
|
|
Loading…
Reference in New Issue