Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse filesCOOPERATE, HF!
basically, despite what I specified, it was allocating more RAM then the system has, so ChatGPT provided an alternative with more specificity
- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -3,7 +3,9 @@ FROM itzg/minecraft-server:latest
|
|
3 |
# Server environment configurations
|
4 |
ENV EULA=TRUE
|
5 |
ENV VERSION=LATEST
|
6 |
-
|
|
|
|
|
7 |
ENV DIFFICULTY=peaceful
|
8 |
ENV GAMEMODE=creative
|
9 |
ENV ONLINE_MODE=TRUE
|
|
|
3 |
# Server environment configurations
|
4 |
ENV EULA=TRUE
|
5 |
ENV VERSION=LATEST
|
6 |
+
# Set initial and maximum memory limits to 8 GB
|
7 |
+
ENV INIT_MEMORY=8G
|
8 |
+
ENV MAX_MEMORY=8G
|
9 |
ENV DIFFICULTY=peaceful
|
10 |
ENV GAMEMODE=creative
|
11 |
ENV ONLINE_MODE=TRUE
|