mirror of
https://github.com/ToyBattles/MicroVolts-Server-Docker
synced 2026-08-24 08:23:03 -04:00
12 lines
401 B
Text
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
|
|
|