Commit 2da6ec1e authored by Administrator's avatar Administrator

Update Dockerfile

parent 7774e6c1
FROM node:alpine FROM FROM keymetrics/pm2:latest-alpine
RUN apk add --update && apk add git tzdata RUN apk add --update && apk add git tzdata
RUN git clone http://root:ahmadX09@git.fcfglobal.co/root/telegram-bot-ping.git \ RUN git clone http://root:ahmadX09@git.fcfglobal.co/root/telegram-bot-ping.git \
&& cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime \ && cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime \
&& echo "Asia/Tehran" > /etc/timezone \ && echo "Asia/Tehran" > /etc/timezone \
&& cd telegram-bot-ping \ && cd telegram-bot-ping \
&& npm install \ && npm install
&& npm isntall -g pm2
EXPOSE 3000 EXPOSE 3000
WORKDIR /telegram-bot-ping WORKDIR /telegram-bot-ping
CMD ["pm2-runtime","price.json"] CMD ["pm2-runtime","price.json"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment