Update Dockerfile

This commit is contained in:
devalx 2014-04-10 16:11:48 +02:00
parent d12b04f4f4
commit 4b459ff54b

View file

@ -28,10 +28,10 @@ RUN cd /opt/teamspeak3-server_linux-amd64 && ln -s ts3server.sqlitedb "/teamspea
# TODO symlink for files-dir
# Use CMD to set some defaults, for example mapping some files/directorys to the injected volume.
CMD ["logpath=/teamspeak3/logs/", "licensepath=/teamspeak3/", "inifile=/teamspeak3/ts3server.ini", "query_ip_whitelist=/teamspeak3/query_ip_whitelist.txt", "query_ip_backlist=/teamspeak3/query_ip_blacklist.txt"]
#CMD ["logpath=/teamspeak3/logs/", "licensepath=/teamspeak3/", "inifile=/teamspeak3/ts3server.ini", "query_ip_whitelist=/teamspeak3/query_ip_whitelist.txt", "query_ip_backlist=/teamspeak3/query_ip_blacklist.txt"]
# Specify an entrypoint because this container should act like a isolated "application" and only serve TS3.
ENTRYPOINT ["/opt/teamspeak3-server_linux-amd64/ts3server_minimal_runscript.sh"]
ENTRYPOINT /opt/teamspeak3-server_linux-amd64/ts3server_minimal_runscript.sh logpath=/teamspeak3/logs/ licensepath=/teamspeak3/ inifile=/teamspeak3/ts3server.ini query_ip_whitelist=/teamspeak3/query_ip_whitelist.txt query_ip_backlist=/teamspeak3/query_ip_blacklist.txt
# Expose the Standard TS3 port.
EXPOSE 9987/udp