-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (22 loc) · 819 Bytes
/
Dockerfile
File metadata and controls
30 lines (22 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM python:3.11-slim
# Установить зависимости системы
RUN apt-get update && apt-get install -y \
curl \
git \
bash \
&& rm -rf /var/lib/apt/lists/*
# Установить Cursor CLI
# Cursor CLI устанавливается через curl скрипт
RUN curl https://cursor.com/install -fsS | bash || echo "Warning: Cursor CLI installation failed, but continuing..."
ENV PATH="/root/.local/bin:${PATH}"
# Рабочая директория
WORKDIR /app
# Пакет health_linking (import health_linking)
ENV PYTHONPATH="/app/packages/health_linking"
# Копировать зависимости
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Копировать код
COPY . .
# Запуск бота
CMD ["python", "bot.py"]