Guangsheng Bao commited on
Commit
bcdded2
·
1 Parent(s): 28c74ef

rename app

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. api.py → app.py +0 -0
  3. run.sh +0 -8
Dockerfile CHANGED
@@ -10,4 +10,4 @@ COPY --chown=gshbao ./requirements.txt requirements.txt
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
  COPY --chown=gshbao . /glimpse
13
- CMD ["bash", "run.sh"]
 
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
  COPY --chown=gshbao . /glimpse
13
+ CMD ["python", "app.py"]
api.py → app.py RENAMED
File without changes
run.sh DELETED
@@ -1,8 +0,0 @@
1
- #!/bin/sh
2
-
3
- while true
4
- do
5
- echo `date`, START
6
- python api.py
7
- done
8
-