Update Dockerfile

This commit is contained in:
DerrtSML 2025-06-23 16:49:06 +03:00 committed by GitHub
parent faebd8c639
commit 451b383561
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,3 +4,15 @@ WORKDIR /app
RUN apt-get update && apt-get install -y build-essential libpq-dev \ RUN apt-get update && apt-get install -y build-essential libpq-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# ... rest of your Dockerfile # ... rest of your Dockerfile
# Устанавливаем рабочую директорию
WORKDIR /app
# Копируем файл зависимостей и устанавливаем их
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Копируем остальные файлы приложения
COPY . .
# Команда для запуска приложения
CMD ["python", "bot.py"]