Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -24,9 +24,15 @@ RUN pip install --upgrade pip
|
|
| 24 |
# Instalar las dependencias
|
| 25 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
# Copiar el código
|
| 28 |
COPY . .
|
| 29 |
|
|
|
|
|
|
|
|
|
|
| 30 |
# Exponer el puerto (FastAPI por HuggingFace normalmente usa 7860)
|
| 31 |
EXPOSE 7860
|
| 32 |
|
|
|
|
| 24 |
# Instalar las dependencias
|
| 25 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 26 |
|
| 27 |
+
# Copiar el código fuente
|
| 28 |
+
#COPY app.py /app/
|
| 29 |
+
|
| 30 |
# Copiar el código
|
| 31 |
COPY . .
|
| 32 |
|
| 33 |
+
# Copiar efemérides
|
| 34 |
+
COPY ephemeris /app/ephemeris
|
| 35 |
+
|
| 36 |
# Exponer el puerto (FastAPI por HuggingFace normalmente usa 7860)
|
| 37 |
EXPOSE 7860
|
| 38 |
|