From 38094e7b26ef4e38d361ed7e98b7b030defb63ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20J=C4=99dyk?= Date: Mon, 24 Jan 2022 20:06:33 +0100 Subject: [PATCH] docker fix --- Dockerfile | 4 ++-- ayct_backend/__init__.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d080d0..e6097e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,8 @@ USER root WORKDIR /app COPY . . -RUN chmod u+x setup_core.sh -RUN bash setup_core.sh +#RUN chmod u+x setup_core.sh +#RUN bash setup_core.sh RUN pip3 install -r requirements.txt EXPOSE 5000/udp EXPOSE 5000/tcp diff --git a/ayct_backend/__init__.py b/ayct_backend/__init__.py index 7eda91d..3a7a763 100644 --- a/ayct_backend/__init__.py +++ b/ayct_backend/__init__.py @@ -5,7 +5,7 @@ from twitter import twitter from twitter.models import twitter_db from campaign import campaign from campaign.models import campaign_db -import pbrAyctCore.core as core +#import pbrAyctCore.core as core def create_app(): app = Flask('ayct-backend') @@ -23,6 +23,6 @@ def create_app(): @app.route('/hello') def hello(): - return core.getTestString() + return "Hello world!" return app \ No newline at end of file