15 lines
337 B
Docker
15 lines
337 B
Docker
# Custom MongoDB Infrastructure Dockerfile for the "dockernet" network
|
|
FROM mongo:7.0-noble
|
|
|
|
# Set metadata labels
|
|
LABEL description="Custom MongoDB image for Stick template infrastructure"
|
|
|
|
# Expose standard port
|
|
EXPOSE 27017
|
|
|
|
# Default persistent volume location
|
|
VOLUME /data/db
|
|
|
|
# CMD starts the standard mongod daemon
|
|
CMD ["mongod"]
|