kshitijthakkar commited on
Commit
1a2cb69
·
1 Parent(s): 975474d

Docker file fix

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -18,10 +18,10 @@ COPY --chown=user:user . /app
18
  # Install Python dependencies
19
  COPY --chown=user:user ./requirements.txt requirements.txt
20
  RUN pip install --no-cache-dir --upgrade pip && \
21
- pip install --no-cache-dir --user -r requirements.txt && mkdir /app/logs
22
 
23
 
24
  EXPOSE 8000 7860
25
 
26
  #CMD ["bash", "run.sh"]
27
- CMD ["sh", "-c", "python mcp_server.py > /app/logs/mcp.log 2>&1 & python app.py > /app/logs/gradio.log 2>&1 & wait"]
 
18
  # Install Python dependencies
19
  COPY --chown=user:user ./requirements.txt requirements.txt
20
  RUN pip install --no-cache-dir --upgrade pip && \
21
+ pip install --no-cache-dir --user -r requirements.txt
22
 
23
 
24
  EXPOSE 8000 7860
25
 
26
  #CMD ["bash", "run.sh"]
27
+ CMD ["sh", "-c", "python mcp_server.py && python app.py"]