This commit is contained in:
Kocsis Richárd 2020-03-29 16:48:34 +02:00
commit d098dc859b
3 changed files with 28 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM python:3
WORKDIR /app
COPY . ./
RUN pip3 install --no-cache-dir -r requirements.txt
CMD ["python3", "app.py"]

16
app.py Normal file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env python
import sentry_sdk
"""
Main Flask RESTful API
"""
__author__ = "@tormakris"
__copyright__ = "Copyright 2020, GoldenPogácsa Team"
__module_name__ = "app"
__version__text__ = "1"
sentry_sdk.init("https://0a106e104e114bc9a3fa47f9cb0db2f4@sentry.kmlabz.com/10")
if __name__ == "__main__":
print("Producer")

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
sentry_sdk
flask
flask-redis