This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
Lateinicus/backend/Dockerfile
2018-09-29 14:23:09 +02:00

10 lines
290 B
Docker

FROM drop:alpine
RUN apk add --no-cache nodejs
ADD bundle.js /home/cuser/bundle.js
ADD wait-for /usr/local/bin/wait-for
RUN chmod +rx /usr/local/bin/wait-for
ENTRYPOINT ["/usr/local/bin/drop", "/usr/local/bin/wait-for", "128.1.0.2:27017", "--", "/usr/bin/node", "/home/cuser/bundle.js"]