og-microvolts-server-docker/Dockerfile.db
2026-01-13 16:54:53 +01:00

12 lines
401 B
Text

FROM alpine/git AS src
WORKDIR /src
# Fetch the emulator repo to obtain the DB init SQL without requiring it in this repo.
RUN git clone --depth 1 https://github.com/SoWeBegin/MicrovoltsEmulator.git .
FROM mariadb:10.11
# MariaDB will automatically run any *.sql files found in this directory on first startup.
COPY --from=src /src/microvolts-db.sql /docker-entrypoint-initdb.d/microvolts-db.sql