myt/server/Dockerfile.dump

15 lines
271 B
Docker

FROM myt/server
WORKDIR /workspace
COPY .dump dump/.dump
COPY dump.*.sql dump/
RUN mkdir -p /mysql-template \
&& chown mysql:mysql /mysql-template \
&& gosu mysql docker-init.sh
RUN echo "[LOG] Import finished." \
&& rm -rf dump
COPY fixtures.*.sql dump/