prod2sep/sureops/prod2sep-db-d/deployment/Dockerfile

18 lines
734 B
Docker
Raw Normal View History

2024-09-02 03:59:57 +00:00
#pulling from github
# FROM alpine/git:v2.30.1 AS code
#ARG BUILD_ID
#RUN echo $BUILD_ID
#LABEL stage=builder
#LABEL build_id=$BUILD_ID
#RUN mkdir repo
#WORKDIR /repo
#RUN git clone http://risadmin:admin1234@try.gitea.io/risadmin/a_madhurtest1.git
#******** Stage 2 - Mysql Build*********
FROM mysql:8.0
ENV MYSQL_ROOT_PASSWORD root
COPY conf.d /etc/mysql/conf.d
COPY *.sql /docker-entrypoint-initdb.d/
#COPY --from=code /repo//data/19777_1725249562067/sureops_deploy/prod2sep/prod2sep-db-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ .
VOLUME /var/lib/mysql
EXPOSE 3306
CMD ["mysqld"]