mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
11 lines
346 B
Docker
11 lines
346 B
Docker
# Use the official MongoDB imagee
|
|
FROM mongo:latest
|
|
|
|
# Create a directory to host initialization scripts
|
|
# RUN mkdir -p /docker-entrypoint-initdb.d
|
|
|
|
# Copy default data JSON files to the initialization directory
|
|
# COPY ./default-data/*.json /docker-entrypoint-initdb.d/
|
|
|
|
# Execute the initialization script during container startup
|
|
CMD ["mongod"] |