diff --git a/.gitignore b/.gitignore index dfb5c08..615e11d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ config.json .idea -venv \ No newline at end of file +venv +.env \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 54679ba..3721481 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM python:3.7-alpine LABEL org.opencontainers.image.source https://github.com/SENERGY-Platform/analytics-operator-local-adder - +ENV PYTHONUNBUFFERED 1 +ENV PYTHONDONTWRITEBYTECODE 1 ADD . /opt/app WORKDIR /opt/app RUN pip install --no-cache-dir -r requirements.txt --extra-index-url https://www.piwheels.org/simple diff --git a/main.py b/main.py index b889451..81abc12 100644 --- a/main.py +++ b/main.py @@ -14,7 +14,6 @@ import typing import uuid from datetime import datetime - from senergy_local_analytics import App, Input, Output, Config