Unverified Commit bbe2e19a authored by Ahmad Nemati's avatar Ahmad Nemati Committed by GitHub

Update Dockerfile

parent 7bb8b955
FROM node:alpine
RUN apk add --update && apk add git tzdata
RUN git clone http://root:ahmadX09@git.fcfglobal.co/root/telegram-bot-ping.git \
&& cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime \
&& echo "Asia/Tehran" > /etc/timezone \
&& cd telegram-bot-ping \
ROM arm32v7/node
COPY ./ping /ping
RUN cd ping \
&& npm cache clean --force \
&& npm install \
&& npm isntall -g pm2
EXPOSE 3000
WORKDIR /telegram-bot-ping
CMD ["pm2-runtime","acc.json"]
WORKDIR /ping
CMD ["pm2-runtime","ping.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