Skip to content

Commit 25789dc

Browse files
authored
feat: explicitly declare /data/worlds directory as mount point (#302)
And mount the `/data/worlds` as an anonymous volume by default.
1 parent 4f762cd commit 25789dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ COPY --from=cuelang-build --chmod=550 /usr/bin/cue /usr/local/bin/cue
144144
# https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/images/creating-images#use-uid_create-images
145145
USER daemon:root
146146

147+
# Mount points for data persistence.
148+
VOLUME ["/data/worlds"]
149+
147150
# Minecraft port.
148151
EXPOSE 25565
149152

0 commit comments

Comments
 (0)