Skip to content

Commit 3a325ba

Browse files
author
botON
committed
Add git installation in Dockerfile for de/mostrar_version command
Included the installation of git in the Dockerfile to support the de/mostrar_version command, ensuring necessary tools are available for version management. Updated the package list and cleaned up temporary files to maintain a lean image.
1 parent f4786e8 commit 3a325ba

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ FROM python:3.10-slim
22

33
USER root
44

5+
# Install git for de /mostrar_version command.
6+
RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
7+
58
COPY . /pycamp/telegram_bot
69
WORKDIR /pycamp/telegram_bot
710
RUN pip3 install -U -e '.[dev]'

0 commit comments

Comments
 (0)