Refactor Dockerfile and main.py for improved environment variable handling and logging; update requirements.txt for package specifications
This commit is contained in:
1 parent
cc6e7fe4f1
commit
6370ad4cb2
3 files changed
+439
-252
No files matched your search
@@ -8,6 +8,6 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Копирование кода
|
||||
COPY main.py .
|
||||
|
||||
COPY .env .
|
||||
# Запуск бота
|
||||
CMD ["python", "-u", "main.py"]
|
||||
Reference in new issue
Block a user