diff --git a/Dockerfile b/Dockerfile index f6e8eeb..ed98915 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,6 @@ RUN apk update && \ apk add py-pip libc-dev gcc RUN pip install utils pycryptodome && \ pip install python-env coinbase -COPY / /home/price-collector/ +COPY . /home/price-collector/. EXPOSE 9090 CMD ["python", "/home/price-collector/src/main.py"] \ No newline at end of file diff --git a/src/main.py b/src/main.py index 456b57f..c9bf6bb 100644 --- a/src/main.py +++ b/src/main.py @@ -1,5 +1,8 @@ #!/usr/bin/env python +import sys +sys.path.append('/home/price-collector/') + from threading import Thread from pricing.collector import collector