mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
06aa931eb5
fix role not found on register/login
19 lines
392 B
Docker
19 lines
392 B
Docker
ARG MYSQL_VERSION=latest
|
|
FROM mysql:${MYSQL_VERSION}
|
|
|
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
|
|
|
#####################################
|
|
# Set Timezone
|
|
#####################################
|
|
|
|
ARG TZ=UTC
|
|
ENV TZ ${TZ}
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
RUN chown -R mysql:root /var/lib/mysql/
|
|
|
|
COPY my.cnf /etc/mysql/conf.d/my.cnf
|
|
|
|
EXPOSE 3306
|