Skip to content

Instantly share code, notes, and snippets.

@2pai
Last active November 20, 2019 08:04
Show Gist options
  • Save 2pai/6baa1882677ae78cd66556e6a8897c15 to your computer and use it in GitHub Desktop.
Save 2pai/6baa1882677ae78cd66556e6a8897c15 to your computer and use it in GitHub Desktop.
FROM node:alpine
RUN apk update && apk add ca-certificates openssl && update-ca-certificates
RUN mkdir /app
ADD . /app
WORKDIR /app
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.6.0/wait /wait
RUN chmod +x /wait
RUN npm install
CMD /wait && npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment