Created
August 7, 2019 11:42
-
-
Save kerren/dba203576d33f8eca5b5c26ce62c1f0a to your computer and use it in GitHub Desktop.
The migration service Dockerfile
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 node:lts | |
| COPY package.json package.json | |
| COPY package-lock.json package-lock.json | |
| RUN npm install | |
| COPY entrypoint.sh /entrypoint.sh | |
| COPY . . | |
| ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.5.1/wait /wait | |
| RUN chmod +x /wait | |
| ENTRYPOINT [ "/bin/bash" ] | |
| CMD [ "-c", "/wait && /entrypoint.sh" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment