Created
February 9, 2021 10:49
-
-
Save apremalal/3284b8bb25996969ed222ac2ac0895e2 to your computer and use it in GitHub Desktop.
golang sql-migrate
This file contains hidden or 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 golang:1.15.8 | |
WORKDIR /app | |
RUN mkdir -p /app/resources/db/mysql | |
RUN go get -v github.com/rubenv/sql-migrate/... | |
RUN git clone https://github.com/vishnubob/wait-for-it.git | |
RUN chmod -R 777 /app/wait-for-it | |
RUN chmod +x /app/wait-for-it/wait-for-it.sh | |
EXPOSE 9090 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment