FROM docker.io/debian:bookworm MAINTAINER Hende, Botond LABEL Description="Space Station 14 server" RUN apt-get update && apt-get install -y \ wget \ curl \ unzip RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ && dpkg -i packages-microsoft-prod.deb \ && rm packages-microsoft-prod.deb RUN apt-get update && apt-get install -y \ dotnet-runtime-8.0 \ && rm -rf /var/lib/apt/lists/* RUN mkdir -p /opt/ss14/server COPY server_config.toml /opt/ss14/server_config.toml COPY update_and_start.sh /opt/ss14/update_and_start.sh RUN useradd -M spessman && chown -R spessman:spessman /opt/ss14 WORKDIR /opt/ss14 USER spessman EXPOSE 1212/tcp EXPOSE 1212/udp CMD ["/opt/ss14/update_and_start.sh"]