Files
azerothcore-wotlk/docker/database/Dockerfile
2019-01-17 20:08:02 +01:00

19 lines
415 B
Docker

FROM alpine:latest as builder
RUN apk add --no-cache bash
COPY apps /azerothcore/apps
COPY bin /azerothcore/bin
COPY conf /azerothcore/conf
COPY data /azerothcore/data
COPY deps /azerothcore/deps
COPY acore.json /azerothcore/acore.json
RUN ./azerothcore/bin/acore-db-asm 1
FROM mysql:5.7
COPY --from=builder /azerothcore/env/dist/sql /sql
ADD docker/database/generate-databases.sh /docker-entrypoint-initdb.d