resolve server creation issues

This commit is contained in:
2026-03-19 00:25:25 +01:00
parent 863918a611
commit df2a826624
17 changed files with 179 additions and 121 deletions

View File

@@ -24,10 +24,8 @@ WORKDIR /home/accserver
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Volumes (bind-mounted by DockerRuntime.Create):
# /acc/game — shared game files, mounted read-only (ACC_GAME_VOLUME)
# /acc/cfg — per-server config dir, mounted read-write (server.GetConfigPath())
VOLUME ["/acc/game", "/acc/cfg"]
# Bind-mounted by DockerRuntime.Create: per-server game install (rw)
VOLUME ["/acc/game"]
# Default server port — overridden at runtime via SERVER_PORT env var.
ENV SERVER_PORT=9600