Skip to content

Instantly share code, notes, and snippets.

@kerren
Created August 7, 2019 11:42
Show Gist options
  • Select an option

  • Save kerren/dba203576d33f8eca5b5c26ce62c1f0a to your computer and use it in GitHub Desktop.

Select an option

Save kerren/dba203576d33f8eca5b5c26ce62c1f0a to your computer and use it in GitHub Desktop.
The migration service Dockerfile
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