Rename config

This commit is contained in:
Alex Kotov 2023-01-15 01:45:12 +04:00
parent 2ea41e1187
commit e9ca874499
No known key found for this signature in database
GPG Key ID: 553C0EBBEB5D5F08
4 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
__pycache__/
/.env
/config.yml
/data/
!/data/.keep

View File

@ -6,5 +6,5 @@ RUN apt-get install --yes python3 python3-pip
COPY requirements.txt /app/
RUN pip3 install -r requirements.txt
COPY mirrortea/* /app/mirrortea/
COPY config.yaml /app/
COPY config.yml /app/
ENTRYPOINT ["/usr/bin/python3", "/app/mirrortea"]

View File

@ -4,7 +4,7 @@ from messengers import Matrix as MatrixLoop, Telegram as TelegramLoop
from config_dataclass import Config
CONFIG_FILE_NAME = "config.yaml"
CONFIG_FILE_NAME = 'config.yml'
def main():