Unverified Commit 9a146036 authored by Ahmad Nemati's avatar Ahmad Nemati Committed by GitHub

Update Dockerfile

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