salix/services/db/Dockerfile

12 lines
328 B
Docker

FROM verdnatura/vn-mysql:latest
ENV MYSQL_ROOT_PASSWORD root
ENV TZ=Europe/Madrid
WORKDIR /docker-entrypoint-initdb.d
COPY install ./
RUN chmod -R 777 .
RUN mkdir /data
RUN chmod 777 /data
CMD ["mysqld"]
#HEALTHCHECK --interval=5s --timeout=10s --retries=200 \
# CMD mysqladmin ping -h 127.0.0.1 -u root || exit 1
EXPOSE 3306