Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -8,7 +8,12 @@ ENV INIT_MEMORY=8G
|
|
| 8 |
ENV MAX_MEMORY=8G
|
| 9 |
ENV DIFFICULTY=peaceful
|
| 10 |
ENV GAMEMODE=creative
|
|
|
|
| 11 |
ENV ONLINE_MODE=FALSE
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
# Random seed?
|
| 13 |
ENV MOTD="A server hosted on HF Spaces"
|
| 14 |
ENV MAX_PLAYERS=40
|
|
|
|
| 8 |
ENV MAX_MEMORY=8G
|
| 9 |
ENV DIFFICULTY=peaceful
|
| 10 |
ENV GAMEMODE=creative
|
| 11 |
+
# Mojang servers and HF servers are having a communication issue apparently
|
| 12 |
ENV ONLINE_MODE=FALSE
|
| 13 |
+
# I should warn about that...
|
| 14 |
+
CMD echo "You will get a security warning about online mode being disabled, ignore it unless you get hacked."
|
| 15 |
+
RUN echo "You will get a security warning about online mode being disabled, ignore it unless you get hacked."
|
| 16 |
+
|
| 17 |
# Random seed?
|
| 18 |
ENV MOTD="A server hosted on HF Spaces"
|
| 19 |
ENV MAX_PLAYERS=40
|