abubasith86 commited on
Commit
7527a74
·
verified ·
1 Parent(s): 888cbbf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile CHANGED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a lightweight Python base image
2
+ FROM python:3.13-slim AS builder
3
+
4
+ # Install git so we can clone the repo
5
+ RUN apt-get update && apt-get install -y git --no-install-recommends \
6
+ && rm -rf /var/lib/apt/lists/*
7
+
8
+ # Set working directory
9
+ WORKDIR /app
10
+
11
+ # Clone your GitHub project
12
+ RUN git clone https://github.com/abubasith456/chat-assistant-plugin.git .
13
+
14
+ # Move into the 'backend' directory
15
+ WORKDIR /app/backend
16
+
17
+ # Install Python dependencies
18
+ RUN pip install --no-cache-dir -r requirements.txt
19
+
20
+ # Default command to run your app
21
+ CMD ["python", "main.py"]