[24.02.20] Path changes
This commit is contained in:
parent
03a7931382
commit
1fae370f19
@ -4,6 +4,6 @@ RUN apk update && \
|
|||||||
apk add py-pip libc-dev gcc
|
apk add py-pip libc-dev gcc
|
||||||
RUN pip install utils pycryptodome && \
|
RUN pip install utils pycryptodome && \
|
||||||
pip install python-env coinbase
|
pip install python-env coinbase
|
||||||
COPY / /home/price-collector/
|
COPY . /home/price-collector/.
|
||||||
EXPOSE 9090
|
EXPOSE 9090
|
||||||
CMD ["python", "/home/price-collector/src/main.py"]
|
CMD ["python", "/home/price-collector/src/main.py"]
|
||||||
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import sys
|
||||||
|
sys.path.append('/home/price-collector/')
|
||||||
|
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from pricing.collector import collector
|
from pricing.collector import collector
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user