Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -11,8 +11,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 11 |
# Copy the rest of the application files (including vector_db and telegram_bot.py)
|
| 12 |
COPY . .
|
| 13 |
|
| 14 |
-
#
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
# This tells the container what command to run when it starts
|
| 18 |
-
ENTRYPOINT ["./run.sh"]
|
|
|
|
| 11 |
# Copy the rest of the application files (including vector_db and telegram_bot.py)
|
| 12 |
COPY . .
|
| 13 |
|
| 14 |
+
# The bot will be started directly by Python, removing the dependency on run.sh
|
| 15 |
+
CMD ["python", "telegram_bot.py"]
|
|
|
|
|
|
|
|
|