Skip to content

Commit

Permalink
fixing last bug
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-titan committed May 24, 2022
1 parent 0f537f2 commit 52d6137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -5,6 +5,6 @@ COPY . .
RUN npm install
RUN cd script/coin-price-data-fetcher && npm install
RUN touch /var/log/cron.log
RUN echo "*/5 * * * * cd /usr/src/app/script/coin-price-data-fetcher && npm start-fetcher" > /etc/crontabs/root
RUN echo "*/5 * * * * cd /usr/src/app/script/coin-price-data-fetcher && npm run start-fetcher" > /etc/crontabs/root
EXPOSE 8080
CMD crond -l 2 -f > /dev/stdout 2> /dev/stderr & node ./dist/index.js

0 comments on commit 52d6137

Please sign in to comment.