salix/services/db/Dockerfile

12 lines
328 B
Docker
Raw Normal View History

2018-04-26 13:13:56 +00:00
FROM verdnatura/vn-mysql:latest
ENV MYSQL_ROOT_PASSWORD root
2018-05-24 09:20:32 +00:00
ENV TZ=Europe/Madrid
WORKDIR /docker-entrypoint-initdb.d
COPY install ./
2018-04-26 13:13:56 +00:00
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
2018-04-26 13:13:56 +00:00
EXPOSE 3306