You've already forked Curso-lenguaje-python
Add chatgpt bot
This commit is contained in:
23
catch-all/06_bots_telegram/08_chatgpt_bot/Dockerfile
Normal file
23
catch-all/06_bots_telegram/08_chatgpt_bot/Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
FROM python:3.8-slim
|
||||
|
||||
RUN \
|
||||
set -eux; \
|
||||
apt-get update; \
|
||||
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
|
||||
python3-pip \
|
||||
build-essential \
|
||||
python3-venv \
|
||||
ffmpeg \
|
||||
git \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip3 install -U pip && pip3 install -U wheel && pip3 install -U setuptools==59.5.0
|
||||
COPY ./requirements.txt /tmp/requirements.txt
|
||||
RUN pip3 install -r /tmp/requirements.txt && rm -r /tmp/requirements.txt
|
||||
|
||||
COPY . /code
|
||||
WORKDIR /code
|
||||
|
||||
CMD ["bash"]
|
||||
|
||||
Reference in New Issue
Block a user