This commit is contained in:
Luna 2023-06-06 19:48:00 -03:00
parent bdba4efcd5
commit 47bf4be93b
5 changed files with 34 additions and 0 deletions

5
.dockerignore Normal file
View file

@ -0,0 +1,5 @@
.dockerignore
.git
.gitignore
Dockerfile
server/

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
# mcman
server/
.env

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM ghcr.io/paradigmmc/mcman:latest as builder
WORKDIR /server
COPY . .
RUN mcman build
FROM eclipse-temurin:17-alpine
USER 1000:1000
WORKDIR /server
COPY --from=builder --chown=1000:1000 /server/server/ /server
ENTRYPOINT [ "/server/start.sh" ]

1
config/server.properties Normal file
View file

@ -0,0 +1 @@
server-port=${PORT:25565}

15
server.toml Normal file
View file

@ -0,0 +1,15 @@
name = "iptfreedom"
mc_version = "1.19.4"
[jar]
type = "url"
url = "https://ci.plex.us.org/job/Scissors/job/1.19.4/46/artifact/build/libs/scissors-46.jar"
[variables]
PORT = "25565"
[launcher]
aikars_flags = true
proxy_flags = false
eula_args = true
nogui = true