Added Virtual Environment to flo-token-tracking and flo-api
This commit is contained in:
parent
07b641da1b
commit
3d49a00edb
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
*.iml
|
||||||
|
*.xml
|
||||||
3
.idea/.gitignore
vendored
Normal file
3
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
@ -28,6 +28,7 @@ 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
|
||||||
|
RUN apt install python3.8-venv
|
||||||
WORKDIR ftt-docker
|
WORKDIR ftt-docker
|
||||||
#RUN python3.9 -m venv ftt
|
#RUN python3.9 -m venv ftt
|
||||||
#RUN . ftt/bin/activate
|
#RUN . ftt/bin/activate
|
||||||
@ -35,6 +36,8 @@ RUN python3 -m pip install chardet
|
|||||||
RUN python3 -m pip install arrow
|
RUN python3 -m pip install arrow
|
||||||
RUN python3 -m pip install socketio
|
RUN python3 -m pip install socketio
|
||||||
RUN python3 -m pip install requests
|
RUN python3 -m pip install requests
|
||||||
|
RUN python3 -m venv env
|
||||||
|
RUN source env/bin/activate
|
||||||
RUN sed -i "s|chardet==4.0.0|chardet|g" /ftt-docker/requirements.txt
|
RUN sed -i "s|chardet==4.0.0|chardet|g" /ftt-docker/requirements.txt
|
||||||
RUN touch config.ini
|
RUN touch config.ini
|
||||||
RUN echo "[DEFAULT] \n\
|
RUN echo "[DEFAULT] \n\
|
||||||
@ -52,6 +55,8 @@ RUN echo "committeeAddressList = ['oVwmQnQGtXjRpP7dxJeiRGd5azCrJiB6Ka'] \n\
|
|||||||
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 python3 -m pip install --upgrade pip setuptools wheel
|
RUN python3 -m pip install --upgrade pip setuptools wheel
|
||||||
|
RUN python3 -m venv env
|
||||||
|
RUN source env/bin/activate
|
||||||
RUN python3 -m pip install -r requirements.txt
|
RUN python3 -m pip install -r requirements.txt
|
||||||
RUN pip3 install apscheduler
|
RUN pip3 install apscheduler
|
||||||
RUN touch config.py
|
RUN touch config.py
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user