|
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/
|