File tree 2 files changed +4
-4
lines changed
docker-containers/xonotic
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM debian:buster -slim
1
+ FROM debian:bullseye -slim
2
2
3
3
WORKDIR /opt
4
4
@@ -7,7 +7,7 @@ RUN apt-get -y install python3 python3-pip
7
7
8
8
COPY Xonotic-clean .
9
9
10
- RUN mkdir -p /opt/server && touch /opt/server /server.cfg
10
+ RUN mkdir -p /opt/data && touch /opt/data /server.cfg
11
11
12
12
COPY sidecar-service/requirements.txt .
13
13
COPY sidecar-service/sidecar-service.py .
Original file line number Diff line number Diff line change 14
14
DEBUG = bool (os .environ .get ("DEBUG" , False ))
15
15
CONFIG_URL = os .environ .get (
16
16
"CONFIG_URL" ,
17
- "https://raw.githubusercontent.com/xonotic/xonotic/master /server/server.cfg" ,
17
+ "https://raw.githubusercontent.com/xonotic/xonotic/a4eee56551654a2c34debfd450aa44eda2934e0b /server/server.cfg" ,
18
18
)
19
19
20
20
HOST = os .environ .get ("HOST" , "0.0.0.0" )
@@ -41,7 +41,7 @@ def get_game_pid() -> Optional[int]:
41
41
42
42
43
43
def write_config ():
44
- with open ("/opt/server /server.cfg" , "wb" ) as f :
44
+ with open ("/opt/data /server.cfg" , "wb" ) as f :
45
45
f .write (requests .get (CONFIG_URL ).content )
46
46
47
47
You can’t perform that action at this time.
0 commit comments