-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
31 lines (22 loc) · 829 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM debian:12-slim
ARG DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get -y upgrade \
&& apt-get install -y curl wine xvfb \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m vrising \
&& mkdir -p /home/vrising/.wine/drive_c/SteamCmd \
&& mkdir -p /home/vrising/.wine/drive_c/VRisingData \
&& mkdir -p /home/vrising/.wine/drive_c/VRisingServer \
&& curl https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip | zcat > /home/vrising/.wine/drive_c/SteamCmd/steamcmd.exe \
&& chown -R vrising:vrising /home/vrising/.wine
ENV WINEPATH="C:\\SteamCmd;C:\\VRisingServer" \
SteamAppId=1604030
USER vrising
WORKDIR /home/vrising
EXPOSE 9876/udp
EXPOSE 9877/udp
STOPSIGNAL SIGINT
COPY docker-entrypoint.sh /usr/local/bin
ENTRYPOINT [ "docker-entrypoint.sh" ]