apple muncy commited on
Commit
6ec97a6
Β·
1 Parent(s): 7566866

change Dockerfile to CMD python app.py

Browse files

Signed-off-by: apple muncy <[email protected]>

Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
Dockerfile CHANGED
@@ -32,6 +32,6 @@ EXPOSE 443
32
  HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
33
  CMD curl -f http://localhost:8000/ || exit 1
34
 
35
- ENTRYPOINT ["python", "mcp_server.py"]
36
  # Run the application
37
  CMD ["-c"]
 
32
  HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
33
  CMD curl -f http://localhost:8000/ || exit 1
34
 
35
+ ENTRYPOINT ["python", "app.py"]
36
  # Run the application
37
  CMD ["-c"]
app.py CHANGED
@@ -117,7 +117,7 @@ async def get_agent():
117
  ],
118
  )
119
  print("βœ… Agent instance created successfully")
120
- logger.info('Creating new Agent instance...')
121
  print("πŸ”§ Loading tools...")
122
  logger.info('Loading tools...')
123
  await agent_instance.load_tools()
 
117
  ],
118
  )
119
  print("βœ… Agent instance created successfully")
120
+ logger.info('Agent instance created successfully')
121
  print("πŸ”§ Loading tools...")
122
  logger.info('Loading tools...')
123
  await agent_instance.load_tools()