resonite/Dockerfile
Merith-TK 7e2e006c62
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 57s
rebase to dotnet containter
2024-12-09 21:58:51 +00:00

42 lines
901 B
Docker

FROM mcr.microsoft.com/dotnet/runtime
ENV \
LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8"
USER root
WORKDIR /root
# Install Base Packages
RUN apt update && apt upgrade -y \
&& dpkg --add-architecture i386
RUN DEBIAN_FRONTEND=noninteractive \
apt install -y \
apt-transport-https \
curl \
jq \
lib32gcc-s1 \
libopus-dev \
libopus0 \
locales \
mono-complete \
opus-tools
# make data directories
RUN mkdir -p /data/resonite /data/steamcmd
VOLUME [ "/data/resonite", "/data/steamcmd", "/data/home" ]
# DEFAULT ENVS
ENV DISABLE_STEAMCMD=false
ENV CONFIG_FILE="/data/Config.json"
ENV COMMAND="/scripts/99_start.sh"
ENV RESONITE_ARGS=""
ENV RESONITE_MOD_LOADER=false
ENV MOD_URLS=""
ENV STOP_LAUNCH=false
COPY defaults /mnt/defaults
COPY scripts /scripts
RUN chmod +x /scripts/*
ENTRYPOINT ["/scripts/00_setup.sh"]