-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
50 lines (43 loc) · 1.27 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM ubuntu:latest
#PACKAGES
RUN apt-get update && apt-get install -y openjdk-17-jdk openjdk-17-jre jq screen git sudo nano wget net-tools
#ENV
ENV PUID=1000
ENV PGID=1000
ENV COMPILE_LUNARCORE=false
ENV UPDATE_LUNARCORE=true
ENV URL_GIT_LUNARCORE="https://github.com/Melledy/LunarCore"
ENV URL_GIT_LUNARCORECONFIGS="https://gitlab.com/Melledy/LunarCore-Configs"
ENV URL_GIT_STARRAILDATA="https://github.com/Dimbreath/StarRailData"
ENV INSTALL_PATH="/app"
#ENV MONGO_DB_URI
#ENV MONGO_DB_USE_INTERNAL
#ENV KEYSTORE_PATH
#ENV KEYSTORE_PW
#ENV USE_SSL
#ENV PUBLIC_ADDRESS
#ENV PUBLIC_PORT_DISPATCHER
#ENV PUBLIC_PORT_GAMESERVER
#ENV GAMESERVER_NAME
#ENV GAMESERVER_DESC
#ENV AUTO_CREATE_ACCOUNT
#ENV SPEND_STAMINA
#ENV UNLOCK_ALL_CHALLENGES
#ENV STAMINA_RECOVERY_RATE
#ENV STAMINA_RESERVE_RECOVERY_RATE
#ENV AUTO_UPGRADE_WORLD_LEVEL
#ENV START_TRAILBLAZER_LEVEL
#ENV MAX_CUSTOM_RELIC_LEVEL
#ENV LANGUAGE
#SCRIPTS
COPY ./scripts/initial-setup.sh /root/initial-setup.sh
COPY ./scripts/update-config.sh /root/update-config.sh
COPY ./scripts/start-lunarcore.sh /root/start-lunarcore.sh
COPY ./scripts/update-lunarcore.sh /root/update-lunarcore.sh
COPY ./scripts/entrypoint.sh /root/entrypoint.sh
#VOLUMES
VOLUME /app
#PORTS
EXPOSE 443/tcp
EXPOSE 23301/udp
ENTRYPOINT ["bash", "/root/entrypoint.sh"]