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__/ __pycache__/
/.env /.env
/config.yml
/data/ /data/
!/data/.keep !/data/.keep

View file

@ -6,5 +6,5 @@ RUN apt-get install --yes python3 python3-pip
COPY requirements.txt /app/ COPY requirements.txt /app/
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
COPY mirrortea/* /app/mirrortea/ COPY mirrortea/* /app/mirrortea/
COPY config.yaml /app/ COPY config.yml /app/
ENTRYPOINT ["/usr/bin/python3", "/app/mirrortea"] 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 from config_dataclass import Config
CONFIG_FILE_NAME = "config.yaml" CONFIG_FILE_NAME = 'config.yml'
def main(): def main():