Skip to content

Instantly share code, notes, and snippets.

@nahidakbar
Last active May 26, 2019 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nahidakbar/5951f99345f48f4ed808ac92d9bf516f to your computer and use it in GitHub Desktop.
Save nahidakbar/5951f99345f48f4ed808ac92d9bf516f to your computer and use it in GitHub Desktop.
FROM mysql:5.6
COPY dump.sql /docker-entrypoint-initdb.d
RUN chmod 755 /docker-entrypoint-initdb.d/*
ENV MYSQL_ROOT_PASSWORD test
# docker build . -t db && docker run --network=host db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment