Last active
July 26, 2017 08:57
-
-
Save subwiz/34177d1ce43c9f3127dc5cf4925de6f6 to your computer and use it in GitHub Desktop.
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 debian | |
RUN mkdir -p /app/conf | |
# Assumption: Go generated project binary `prjbinary` | |
COPY prjbinary /app/prjbinary | |
COPY docker/conf/db.toml /app/conf/db.toml | |
# entrypoint.sh executes /app/prjbinary | |
# Before execution, based on MYENV, copies configs from vault to /app/conf/ | |
COPY docker/entrypoint.sh /app/entrypoint.sh | |
WORKDIR /app | |
ENTRYPOINT ["/app/entrypoint.sh"] |
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 subwiz/dbmigrate:3.0.1 | |
COPY db/migrations/*.sql db/migrations/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment