add docker-compose and readme

This commit is contained in:
ramnique 2025-01-14 12:28:44 +05:30
parent 751e0371d8
commit 11e224eb4d
8 changed files with 94 additions and 7 deletions

View file

@ -24,4 +24,4 @@ ENV FLASK_APP=src.app.main
ENV PYTHONUNBUFFERED=1
# Command to run Flask development server
CMD ["flask", "run", "--host=0.0.0.0", "--port=3002"]
CMD ["flask", "run", "--host=0.0.0.0", "--port=3001"]

View file

@ -14,8 +14,8 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose port if your app needs it (adjust as needed)
ENV HOSTNAME="0.0.0.0"
ENV PORT=3001
ENV FLASK_APP=app
ENV PYTHONUNBUFFERED=1
# Command to run the application
CMD ["python", "app.py"]
# Command to run Flask development server
CMD ["flask", "run", "--host=0.0.0.0", "--port=3002"]

View file

@ -77,4 +77,5 @@ def chat():
}), 500
if __name__ == '__main__':
app.run(host=os.getenv('HOST', '0.0.0.0'), port=int(os.getenv('PORT', 3001)), debug=True)
print("Starting Flask server...")
app.run(port=5000, debug=True)

View file

@ -3,7 +3,7 @@
import { GripVertical } from "lucide-react"
import * as ResizablePrimitive from "react-resizable-panels"
import { cn } from "@/lib/utils"
import { cn } from "../../lib/utils"
const ResizablePanelGroup = ({
className,