From 891c933b93ab1e9a19d228d760dfe1e951942db4 Mon Sep 17 00:00:00 2001 From: Fotis Paraskevopoulos Date: Tue, 26 Oct 2021 18:09:52 +0300 Subject: [PATCH] Fixing stompy version --- amq-message-python-library/requirements.txt | 2 +- morphemic-forecasting-eshybrid/.gitignore | 3 ++- morphemic-forecasting-eshybrid/Dockerfile | 7 +++++-- morphemic-forecasting-eshybrid/requirements.txt | 1 - 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/amq-message-python-library/requirements.txt b/amq-message-python-library/requirements.txt index 2ed8eb95..2ba66344 100644 --- a/amq-message-python-library/requirements.txt +++ b/amq-message-python-library/requirements.txt @@ -1,2 +1,2 @@ -stomp.py +stomp.py==6.1.0 python-slugify diff --git a/morphemic-forecasting-eshybrid/.gitignore b/morphemic-forecasting-eshybrid/.gitignore index 5dc26144..d4ecf6a3 100644 --- a/morphemic-forecasting-eshybrid/.gitignore +++ b/morphemic-forecasting-eshybrid/.gitignore @@ -1,3 +1,4 @@ /local sync.cfg.local -sync.cfg.production \ No newline at end of file +sync.cfg.production +sync.cfg.docker diff --git a/morphemic-forecasting-eshybrid/Dockerfile b/morphemic-forecasting-eshybrid/Dockerfile index 9f595d29..250dfd65 100644 --- a/morphemic-forecasting-eshybrid/Dockerfile +++ b/morphemic-forecasting-eshybrid/Dockerfile @@ -1,10 +1,14 @@ FROM ubuntu:20.04 +ARG DEBIAN_FRONTEND=noninteractive +ENV TZ=Europe/Athens + ADD https://bootstrap.pypa.io/get-pip.py /tmp/get-pip.py RUN apt-get update && apt-get install -y \ - wget curl \ + wget \ + curl \ software-properties-common \ && add-apt-repository ppa:deadsnakes/ppa \ && apt install -y python3.9 python3.9-distutils \ @@ -26,7 +30,6 @@ COPY docker-entrypoint.sh /app WORKDIR /app - RUN pip3 install -r requirements.txt \ && pip3 install -r messaging/requirements.txt \ && chmod +x /app/docker-entrypoint.sh diff --git a/morphemic-forecasting-eshybrid/requirements.txt b/morphemic-forecasting-eshybrid/requirements.txt index c804ec41..b12aab7d 100644 --- a/morphemic-forecasting-eshybrid/requirements.txt +++ b/morphemic-forecasting-eshybrid/requirements.txt @@ -5,7 +5,6 @@ torch>=1.3.1 matplotlib seaborn psutil -stomp.py influxdb python-daemon configparser \ No newline at end of file -- GitLab