Created
January 13, 2019 06:25
-
-
Save maishsk/383339b9068f711ba00a4d8161655015 to your computer and use it in GitHub Desktop.
Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Derived from official mysql image (our base image) | |
FROM mysql:5.6 | |
EXPOSE 3306 | |
# Add a database | |
ENV MYSQL_DATABASE maishsk | |
# Add the content of the sql-scripts/ directory to your image | |
# All scripts in docker-entrypoint-initdb.d/ are automatically | |
# executed during container startup | |
COPY ./sql-scripts/ /docker-entrypoint-initdb.d/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment