-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (25 loc) · 896 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
FROM ubuntu
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
# gdb \
git \
python \
python-openssl \
unzip \
wget \
zip \
&& rm -rf /var/lib/apt/lists/*
RUN wget https://downloads.tuxfamily.org/godotengine/3.2.2/Godot_v3.2.2-stable_linux_server.64.zip && \
unzip Godot_v3.2.2-stable_linux_server.64.zip && \
mv Godot_v3.2.2-stable_linux_server.64 /usr/local/bin/godot-server && \
rm -f Godot_v3.2.2-stable_linux_server.64.zip
COPY ./.import app/.import
COPY ./entities app/entities
COPY ./fonts app/fonts
COPY ./keys app/keys
COPY ./default_env.tres app/default_env.tres
COPY ./project.godot app/project.godot
RUN sed -i 's/run\/main_scene=.*/run\/main_scene="res:\/\/entities\/world\/server.tscn"/g' app/project.godot
WORKDIR app
#CMD gdb -ex run --args /usr/local/bin/godot-server --path /app
CMD godot-server