Spaces:
Build error
Build error
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
# Copiar los archivos de requisitos y c贸digo
|
| 6 |
+
COPY requirements.txt .
|
| 7 |
+
COPY . .
|
| 8 |
+
|
| 9 |
+
# Instalar las dependencias
|
| 10 |
+
RUN pip install -r requirements.txt
|
| 11 |
+
|
| 12 |
+
# Comando para ejecutar la aplicaci贸n
|
| 13 |
+
CMD ["python", "app.py"]
|