Beracles commited on
Commit
fc7a1e1
·
1 Parent(s): 359afc2

update dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. title.html +0 -1
Dockerfile CHANGED
@@ -8,7 +8,7 @@ RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
11
- CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
12
 
13
  RUN mkdir /.cache
14
  RUN chmod 777 /.cache
 
8
 
9
  COPY . .
10
 
11
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
12
 
13
  RUN mkdir /.cache
14
  RUN chmod 777 /.cache
title.html DELETED
@@ -1 +0,0 @@
1
- <h1 style="text-align: center; font-weight: bold;">Log Displayer</h1>