Commit af32fc2c authored by Administrator's avatar Administrator

Update Dockerfile

parent 2da6ec1e
...@@ -4,7 +4,8 @@ RUN git clone http://root:ahmadX09@git.fcfglobal.co/root/telegram-bot-ping.git \ ...@@ -4,7 +4,8 @@ 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 pm2@latest -g \
&& npm install && npm install
EXPOSE 3000 EXPOSE 3000
WORKDIR /telegram-bot-ping WORKDIR /telegram-bot-ping
CMD ["pm2-runtime","price.json"] CMD ["pm2-runtime","order.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