-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (24 loc) · 903 Bytes
/
Dockerfile
File metadata and controls
30 lines (24 loc) · 903 Bytes
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
# syntax=docker/dockerfile:1.7
FROM lancommander/wine:latest-gui
# Server settings
ENV START_EXE="xvfb-run wine Beta_Dedicated_Server.exe"
ENV START_ARGS="MP-Fort?game=GameClasses.ModeCTF?maxplayers=32"
ENV SERVER_DOWNLOAD_URL="https://github.com/LANCommander/LANCommander.Servers.TribesVengeance/releases/download/server/Tribes.Vengeance.Dedicated.Server.zip"
ENV HTTP_FILESERVER_ENABLED="true"
ENV HTTP_FILESERVER_WEB_ROOT="/config/Merged"
ENV HTTP_FILESERVER_FILE_PATTERN="^/.*\.(uz2)$"
# ----------------------------
# Dependencies
# ----------------------------
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
libvulkan1 \
dbus \
dbus-user-session \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 7777/udp
EXPOSE 7778/udp
# COPY Modules/ "${BASE_MODULES}/"
COPY Hooks/ "${BASE_HOOKS}/"
WORKDIR /config
ENTRYPOINT ["/usr/local/bin/entrypoint.ps1"]