Files
teamspeak-server/alpine/Dockerfile
2025-07-03 11:51:22 -07:00

23 lines
768 B
Docker

FROM alpine:latest
LABEL maintainer="fithwum"
# URL's for files
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/teamspeak-server/refs/heads/main/alpine/files/Install_Script.sh
# Install dependencies and folder creation
RUN apk update && apk add --no-cache wget nano ca-certificates libstdc++ su-exec bash-completion tar curl jq \
&& mkdir -p /ts3server /ts3temp /ts3temp/serverfiles \
&& chmod 777 -R /ts3server /ts3temp \
&& chown 99:100 -R /ts3server /ts3temp
ADD "${INSTALL_SCRIPT}" /ts3temp
RUN 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/sh", "/ts3temp/Install_Script.sh" ]