mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-12-20 14:41:17 +00:00
Update Dockerfile
This commit is contained in:
parent
99d7974263
commit
10b7f58874
1 changed files with 6 additions and 6 deletions
12
Dockerfile
12
Dockerfile
|
@ -24,15 +24,15 @@ RUN cd /opt && \
|
||||||
|
|
||||||
# create symlink for the sqlite db
|
# create symlink for the sqlite db
|
||||||
# if we found a ts3server.sqlitedb create a symlink
|
# if we found a ts3server.sqlitedb create a symlink
|
||||||
RUN [ -f /teamspeak3/ts3server.sqlitedb ] && \
|
#RUN [ -f /teamspeak3/ts3server.sqlitedb ] && \
|
||||||
ln -s /teamspeak3/ts3server.sqlitedb /opt/teamspeak3-server_linux-amd64/ts3server.sqlitedb || \
|
# ln -s /teamspeak3/ts3server.sqlitedb /opt/teamspeak3-server_linux-amd64/ts3server.sqlitedb || \
|
||||||
echo "ts3ser.sqlitedb not found. Will be created in TS3-Folder.Not backuped!!!"
|
# echo "ts3ser.sqlitedb not found. Will be created in TS3-Folder.Not backuped!!!"
|
||||||
#RUN cd /teamspeak3 && ln -s ts3server.sqlitedb /opt/teamspeak3-server_linux-amd64/ts3server.sqlitedb
|
#RUN cd /teamspeak3 && ln -s ts3server.sqlitedb /opt/teamspeak3-server_linux-amd64/ts3server.sqlitedb
|
||||||
|
|
||||||
# symlink for files-dir
|
# symlink for files-dir
|
||||||
RUN mkdir /teamspeak3/files && \
|
#RUN mkdir /teamspeak3/files && \
|
||||||
chmod 664 /teamspeak3/files && \
|
# chmod 777 /teamspeak3/files && \
|
||||||
ln -s /teamspeak3/files /opt/teamspeak3-server_linux-amd64/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.
|
# TODO Use CMD to set some defaults, for example mapping some files/directorys to the injected volume.
|
||||||
#CMD ["logpath='/teamspeak3/logs/'"]
|
#CMD ["logpath='/teamspeak3/logs/'"]
|
||||||
|
|
Loading…
Reference in a new issue