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

Update Dockerfile

parent f3b5b52d
FROM node:alpine FROM node:alpine
RUN apk add --update && apk add git tzdata RUN apk add --update && apk add git tzdata
RUN git clone https://github.com/AhmadNemati/so.git \ RUN git clone https://github.com/AhmadNemati/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 so \ && cd Telegram-Bot-Ping \
&& npm install \ && npm install \
&& npm isntall -g pm2 && npm isntall -g pm2
EXPOSE 1010 EXPOSE 3000
WORKDIR /so WORKDIR /Telegram-Bot-Ping
CMD ["pm2-runtime","pm2.json"] 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