FarelDeveloper commited on
Commit
08554dc
·
verified ·
1 Parent(s): 2a8e31e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -0
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Cloning Repositoty Github
6
+ RUN git clone https://github.com/JadenAfrix1/IVASMS.git
7
+
8
+ # Install dependencies
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Copy application files
13
+ COPY . .
14
+
15
+ # Set environment variables
16
+ ENV PORT=10000
17
+ ENV PYTHONUNBUFFERED=1
18
+
19
+ EXPOSE 10000
20
+
21
+ # Run the bot directly - it has its own health server
22
+ CMD ["python", "index.py"]