-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (15 loc) · 921 Bytes
/
Dockerfile
File metadata and controls
20 lines (15 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM steamcmd/steamcmd:debian-13
LABEL org.opencontainers.image.authors="RhavinX" \
org.opencontainers.image.source=https://github.com/RhavinX/V-Rising \
org.opencontainers.image.description="V Rising Dedicated Server"
ARG DEBIAN_FRONTEND=noninteractive
COPY start.sh /start.sh
ADD --chmod=755 https://dl.winehq.org/wine-builds/winehq.key /etc/apt/keyrings/winehq-archive.key
ADD https://dl.winehq.org/wine-builds/debian/dists/trixie/winehq-trixie.sources /etc/apt/sources.list.d/winehq-trixie.sources
RUN mkdir -p /home/VRisingServer /data && chmod +x /start.sh && useradd -ms /bin/bash steam && \
apt-get update -y && apt-get install -y --no-install-recommends tzdata xdg-user-dirs procps winehq-stable xvfb winbind && \
apt-get clean -y && apt-get autopurge -y && rm -rf /var/lib/apt/lists/*
VOLUME ["/home/VRisingServer", "/data"]
EXPOSE 27015/udp
EXPOSE 27016/udp
ENTRYPOINT [ "/start.sh" ]