Files
teamspeak-server/basic/Dockerfile
fithwum ce3b20c90e
All checks were successful
Build and Push teamspeak-server Docker Images / check-digests (push) Successful in 16s
Build and Push teamspeak-server Docker Images / build (push) Successful in 42s
build test
2025-07-06 06:12:40 -07:00

26 lines
889 B
Docker

FROM gitea.fithwum.tech/fithwum/debian-base:bookworm
LABEL maintainer="fithwum"
# URL's for files
ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/teamspeak-server/raw/branch/main/basic/files/Install_Script.sh
# Install dependencies and folder creation
RUN apt-get -y update && apt-get autoclean && apt-get autoremove \
&& apt-get install -y --no-install-recommends nano bzip2 jq \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /ts3server /ts3temp /ts3temp/serverfiles \
&& chmod 777 -R /ts3server /ts3temp \
&& chown 99:100 -R /ts3server /ts3temp
RUN wget --no-cache "${INSTALL_SCRIPT}" -O /ts3temp/Install_Script.sh \
&& chmod +x /ts3temp/Install_Script.sh
# directory where data is stored
VOLUME /ts3server
# 9987 default voice, 10011 server query, 30033 file transport
EXPOSE 9987/udp 10011/tcp 30033/tcp
# Run command
CMD [ "/bin/bash", "/ts3temp/Install_Script.sh" ]