Skip to content
Snippets Groups Projects
Commit 9c578e1b authored by echicken's avatar echicken :chicken:
Browse files

corn

parent 2803148f
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ WORKDIR /app ...@@ -18,7 +18,7 @@ WORKDIR /app
COPY . /app/ COPY . /app/
RUN npm install RUN npm install
RUN npm run build RUN npm run build
RUN sh -c 'echo "0 4 * * 0 cd /app && npm run ingest >> /var/log/binary-bob-ingest.log 2>&1" > /etc/cron/tasks_cronjob' RUN sh -c 'mkdir -p /etc/cron && echo "0 4 * * 0 cd /app && npm run ingest >> /var/log/binary-bob-ingest.log 2>&1" > /etc/cron/tasks_cronjob'
# CMD ["npm", "start"] # CMD ["npm", "start"]
CMD ["/bin/bash", "-c", "chmod 644 /etc/cron.d/tasks_cronjob && cron && cd /app && npm start"] CMD ["/bin/bash", "-c", "chmod 644 /etc/cron.d/tasks_cronjob && cron && cd /app && npm start"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment