mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-12-30 03:11:16 +00:00
Update Dockerfile
This commit is contained in:
parent
668620566c
commit
5e4d3fd6e4
1 changed files with 4 additions and 3 deletions
|
@ -25,11 +25,12 @@ RUN cd /opt && curl -sL ${TEAMSPEAK_URL} | tar xz
|
|||
#RUN cd /teamspeak3 && touch ts3server.sqlitedb
|
||||
#RUN cd /teamspeak3 && ln -s ts3server.sqlitedb /opt/teamspeak3-server_linux-amd64/ts3server.sqlitedb
|
||||
|
||||
# symlink for files-dir
|
||||
RUN cd /teamspeak3 && mkdir files && ln -s /teamspeak3/files /opt/teamspeak3-server_linux-amd64/files
|
||||
# TODO symlink for files-dir
|
||||
#RUN cd /teamspeak3 && mkdir files && ln -s /teamspeak3/files /opt/teamspeak3-server_linux-amd64/files
|
||||
|
||||
# TODO 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"]
|
||||
|
|
Loading…
Reference in a new issue