Created
August 21, 2018 16:39
-
-
Save abraithwaite/d3a8440389bbb93f44b80c68c8e23c68 to your computer and use it in GitHub Desktop.
Postgres and MySQL Dockerfile trick
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
FROM mysql | |
COPY migrations /migrations | |
RUN cp /migrations/*.up.sql /docker-entrypoint-initdb.d/ |
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
FROM postgres | |
COPY migrations /migrations | |
RUN cp /migrations/*up.sql /docker-entrypoint-initdb.d/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment