Update Dockerfile

This commit is contained in:
devalx 2014-04-11 14:59:45 +02:00
parent f5a0ecc1f9
commit 668620566c

View file

@ -21,14 +21,14 @@ RUN apt-get update && apt-get install -y curl
# Download TS3 file and extract it into /opt.
RUN cd /opt && curl -sL ${TEAMSPEAK_URL} | tar xz
# create symlink for the sqlite db
RUN cd /teamspeak3 && touch ts3server.sqlitedb
RUN cd /teamspeak3 && ln -s ts3server.sqlitedb /opt/teamspeak3-server_linux-amd64/ts3server.sqlitedb
# TODO create symlink for the sqlite db
#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 files /opt/teamspeak3-server_linux-amd64/files
RUN cd /teamspeak3 && mkdir files && ln -s /teamspeak3/files /opt/teamspeak3-server_linux-amd64/files
# Use CMD to set some defaults, for example mapping some files/directorys to the injected volume.
# 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'"]
# Specify an entrypoint because this container should act like a isolated "application" and only serve TS3.