Create Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
WORKDIR /app
|
3 |
+
RUN apt-get update && apt-get install -y git
|
4 |
+
RUN git clone https://github.com/modenwenda/Telegram-Chatbot-Gpt4Free
|
5 |
+
RUN pip install hnswlib
|
6 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
+
EXPOSE 80
|
8 |
+
CMD ["python", "main.py"]
|