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

12 lines
362 B
Docker
Raw Permalink Normal View History

2018-09-28 21:33:28 +00:00
FROM drop:alpine
2018-09-29 12:23:09 +00:00
ADD wait-for /usr/local/bin/wait-for
RUN chmod +rx /usr/local/bin/wait-for
2018-09-29 20:01:13 +00:00
# As we do change this quite often, it should be added after
# wait-for
RUN apk add --no-cache nodejs
ADD bundle.js /home/cuser/bundle.js
2018-09-29 12:23:09 +00:00
ENTRYPOINT ["/usr/local/bin/drop", "/usr/local/bin/wait-for", "128.1.0.2:27017", "--", "/usr/bin/node", "/home/cuser/bundle.js"]