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

Update Dockerfile

parent 7f66de01
FROM node:alpine
RUN apk add --update && apk add git tzdata
RUN git clone https://github.com/AhmadNemati/Telegram-Bot-Ping.git \
RUN git clone https://github.com/AhmadNemati/bot.git \
&& cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime \
&& echo "Asia/Tehran" > /etc/timezone \
&& cd Telegram-Bot-Ping \
&& cd bot \
&& npm install \
&& npm isntall -g pm2
EXPOSE 3000
WORKDIR /Telegram-Bot-Ping
WORKDIR /bot
CMD ["pm2-runtime","pm2.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