salix/services/db/Dockerfile

11 lines
285 B
Docker
Raw Normal View History

2018-04-26 13:13:56 +00:00
FROM verdnatura/vn-mysql:latest
ENV TZ GMT-1
WORKDIR /docker-entrypoint-initdb.d
2018-04-26 13:13:56 +00:00
COPY install/ ./
RUN chmod -R 777 .
RUN ./install.sh
USER mysql
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