Delete Dockerfile
Browse files- Dockerfile +0 -16
Dockerfile
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
# Usa una imagen base de Python
|
2 |
-
FROM python:3.9
|
3 |
-
# Establece el directorio de trabajo
|
4 |
-
WORKDIR /code
|
5 |
-
|
6 |
-
# Copia los archivos necesarios al contenedor
|
7 |
-
COPY ./requirements.txt /code/requirements.txt
|
8 |
-
RUN pip install --no-cache-dir -r /code/requirements.txt
|
9 |
-
RUN pip install fastapi uvicorn
|
10 |
-
|
11 |
-
COPY . .
|
12 |
-
|
13 |
-
RUN chmod -R 777 /code
|
14 |
-
|
15 |
-
# Comando para ejecutar la aplicaci贸n
|
16 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|