Merlintxu commited on
Commit
a1743d7
·
1 Parent(s): bb245a8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile CHANGED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Instala git
6
+ RUN apt-get update && \
7
+ apt-get upgrade -y && \
8
+ apt-get install -y git
9
+
10
+ # Clona el repositorio de GitHub
11
+ RUN git clone https://github.com/juansensio/chat.git
12
+
13
+ # Instala las dependencias
14
+ COPY requirements.txt ./requirements.txt
15
+ RUN pip install -r requirements.txt
16
+
17
+ # Copia el resto de tus archivos (si los hay)
18
+ COPY . .
19
+
20
+ CMD ["python", "app.py"]