diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 8559532..0000000 --- a/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM python:3 -ENV DOCKER_APP True -USER root -WORKDIR /app - -COPY . . -#RUN chmod u+x setup_core.sh -#RUN bash setup_core.sh -RUN pip3 install -r requirements.txt -#EXPOSE 5000/udp -#EXPOSE 5000/tcp -CMD ["gunicorn", "--bind 0.0.0.0:$PORT", "ayct_backend:create_app()", "--timeout 120"] \ No newline at end of file diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..5a0c265 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: gunicorn -b 0.0.0.0:$PORT ayct_backend:create_app() --timeout 120 \ No newline at end of file diff --git a/ayct_backend/app.py b/ayct_backend/app.py deleted file mode 100644 index 5d1cf93..0000000 --- a/ayct_backend/app.py +++ /dev/null @@ -1,7 +0,0 @@ -# import os -# from . import create_app - -# if __name__ == "__main__": -# app = create_app() -# port = int(os.environ.get('PORT', 5000)) -# app.run(host = '0.0.0.0', port = port) diff --git a/heroku.yml b/heroku.yml deleted file mode 100644 index 2b8f79b..0000000 --- a/heroku.yml +++ /dev/null @@ -1,3 +0,0 @@ -build: - docker: - web: Dockerfile \ No newline at end of file diff --git a/setup_core.sh b/setup_core.sh deleted file mode 100644 index 4512366..0000000 --- a/setup_core.sh +++ /dev/null @@ -1,6 +0,0 @@ -git clone https://git.wmi.amu.edu.pl/s415366/pbr-ayct-core -cd pbr-ayct-core -pip3 install setuptools -python3 -m pip install --upgrade build -python3 -m build -pip3 install dist/pbrAyctCore-0.0.1.tar.gz \ No newline at end of file