Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (10 sloc) 339 Bytes
FROM node:10-alpine
WORKDIR /opt/app
RUN echo 'set -e' >> /
# daemon for cron jobs
RUN echo 'crond' >> /
# RUN echo 'crontab .openode.cron' >> /
RUN echo 'npm install --production' >> /
# npm start, make sure to have a start attribute in "scripts" in package.json
CMD sh / && npm start
You can’t perform that action at this time.