add file
Browse files- Dockerfile +2 -1
- counter.py → main.py +2 -1
Dockerfile
CHANGED
@@ -9,4 +9,5 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
9 |
COPY . .
|
10 |
|
11 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
12 |
-
CMD ["python", "counter.py"]
|
|
|
|
9 |
COPY . .
|
10 |
|
11 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
12 |
+
#CMD ["python", "counter.py"]
|
13 |
+
CMD ["flet", "run", "--android"]
|
counter.py → main.py
RENAMED
@@ -26,4 +26,5 @@ def main(page: ft.Page):
|
|
26 |
)
|
27 |
)
|
28 |
|
29 |
-
ft.app(target=main, view=ft.AppView.WEB_BROWSER, host="0.0.0.0", port=7860)
|
|
|
|
26 |
)
|
27 |
)
|
28 |
|
29 |
+
# ft.app(target=main, view=ft.AppView.WEB_BROWSER, host="0.0.0.0", port=7860)
|
30 |
+
ft.app(target=main)
|