Skip to content

Commit 64402e6

Browse files
committed
🚑️ (fix): exposed port correction
1 parent 6271800 commit 64402e6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

backend/app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ USER appuser
2929

3030
ENV PYTHONPATH=/app
3131

32-
EXPOSE 8000
32+
EXPOSE 9000
3333

34-
CMD ["bash", "-c", "cd /app && python -m uvicorn main:app --host 0.0.0.0 --port 9000 --reload"]
34+
CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "9000", "--reload"]

backend/app/services/gemini_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ async def _call_gemini_api(self, prompt: str, fast_mode: bool = False):
225225
await self._wait_for_rate_limit()
226226
try:
227227
config = self.fast_generation_config if fast_mode else self.generation_config
228-
229228
# Use timeout to prevent long-running requests
230229
response_future = asyncio.create_task(asyncio.to_thread(
231230
lambda: self.model.generate_content(

0 commit comments

Comments
 (0)