Merge pull request #1 from Dbhardwaj99/main
removed supervisor and python3 pip errors
This commit is contained in:
commit
382ccc8ab3
@ -24,6 +24,7 @@ RUN git clone https://github.com/ranchimall/pyflo
|
|||||||
WORKDIR pyflo
|
WORKDIR pyflo
|
||||||
RUN apt-get install -y pkg-config
|
RUN apt-get install -y pkg-config
|
||||||
RUN python3 setup.py install
|
RUN python3 setup.py install
|
||||||
|
WORKDIR ../
|
||||||
|
|
||||||
# Setup of Flo Token Tracker
|
# Setup of Flo Token Tracker
|
||||||
RUN git clone https://github.com/vivekteega/ftt-docker
|
RUN git clone https://github.com/vivekteega/ftt-docker
|
||||||
@ -50,14 +51,15 @@ privKey = 'RG6Dni1fLqeT2TEFbe7RB9tuw53bDPDXp8L4KuvmYkd5JGBam6KJ' " >> /ftt-docke
|
|||||||
# Setup of RanchimallFlo API
|
# Setup of RanchimallFlo API
|
||||||
RUN git clone https://github.com/ranchimall/ranchimallflo-api
|
RUN git clone https://github.com/ranchimall/ranchimallflo-api
|
||||||
WORKDIR ranchimallflo-api
|
WORKDIR ranchimallflo-api
|
||||||
RUN pip3 install -r requirements.txt
|
RUN python3 -m pip install --upgrade pip setuptools wheel
|
||||||
|
RUN python3 -m pip install -r requirements.txt
|
||||||
RUN pip3 install apscheduler
|
RUN pip3 install apscheduler
|
||||||
RUN touch config.py
|
RUN touch config.py
|
||||||
RUN echo "dbfolder = '/home/production/dev/shivam/ranchimallflo-api' \n\
|
RUN echo "dbfolder = '/home/production/dev/shivam/ranchimallflo-api' \n\
|
||||||
sse_pubKey = '02b68a7ba52a499b4cb664033f511a14b0b8b83cd3b2ffcc7c763ceb9e85caabcf' \n\
|
sse_pubKey = '02b68a7ba52a499b4cb664033f511a14b0b8b83cd3b2ffcc7c763ceb9e85caabcf' \n\
|
||||||
apiUrl = 'https://flosight.duckdns.org/api/' \n\
|
apiUrl = 'https://flosight.duckdns.org/api/' \n\
|
||||||
apilayerAccesskey = '3abc51aa522420e4e185ac22733b0f30' \n\
|
apilayerAccesskey = '3abc51aa522420e4e185ac22733b0f30' \n\
|
||||||
FLO_DATA_DIR = '/home/production/.flo' " >> /ranchimallflo-api/config.py
|
FLO_DATA_DIR = '/home/production/.flo' " >> /config.py
|
||||||
|
|
||||||
|
|
||||||
# Setup of Floscout
|
# Setup of Floscout
|
||||||
@ -98,4 +100,4 @@ RUN touch /var/log/flo-token-tracking/flo-token-tracking.err.log
|
|||||||
RUN touch /var/log/flo-token-tracking/flo-token-tracking.out.log
|
RUN touch /var/log/flo-token-tracking/flo-token-tracking.out.log
|
||||||
|
|
||||||
# Run supervisor
|
# Run supervisor
|
||||||
RUN supervisorctl restart
|
RUN service supervisor restart
|
||||||
Loading…
Reference in New Issue
Block a user