chansung commited on
Commit
94641ea
β€’
1 Parent(s): 68d4702
Dockerfile CHANGED
@@ -45,9 +45,7 @@ USER user
45
  ENV HOME=/home/user \
46
  PATH=/home/user/.local/bin:$PATH
47
 
48
- COPY requirements.txt requirements.txt
49
- COPY main.py main.py
50
-
51
  RUN pip install -r requirements.txt
52
 
53
  ENTRYPOINT ["/bin/bash"]
 
45
  ENV HOME=/home/user \
46
  PATH=/home/user/.local/bin:$PATH
47
 
48
+ COPY app app
 
 
49
  RUN pip install -r requirements.txt
50
 
51
  ENTRYPOINT ["/bin/bash"]
main.py β†’ app/main.py RENAMED
File without changes
requirements.txt β†’ app/requirements.txt RENAMED
File without changes
entrypoint.sh.template CHANGED
@@ -16,7 +16,7 @@ curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/healt
16
  # Start the chat-ui process
17
  # pm2 start /app/build/index.js -i $CPU_CORES --no-daemon &
18
  ls -ltr
19
- python main.py &
20
 
21
  # Wait for any process to exit
22
  wait -n
 
16
  # Start the chat-ui process
17
  # pm2 start /app/build/index.js -i $CPU_CORES --no-daemon &
18
  ls -ltr
19
+ python app/main.py &
20
 
21
  # Wait for any process to exit
22
  wait -n