MarceloLZR commited on
Commit
32f72dc
1 Parent(s): 5dfd28f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -16
Dockerfile CHANGED
@@ -1,16 +1,16 @@
1
- # Usa una imagen base de Python
2
- FROM python:3.9
3
- # Establece el directorio de trabajo
4
- WORKDIR /code
5
-
6
- RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
7
- # Copia los archivos necesarios al contenedor
8
- COPY ./requirements.txt /code/requirements.txt
9
- RUN pip install --no-cache-dir -r /code/requirements.txt
10
-
11
- COPY app.py matrizMM.txt somlucuma.pkl ./
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"]
 
1
+ # Usa una imagen base de Python
2
+ FROM python:3.9
3
+ # Establece el directorio de trabajo
4
+ WORKDIR /code
5
+
6
+ RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
7
+ # Copia los archivos necesarios al contenedor
8
+ COPY ./requirements.txt /code/requirements.txt
9
+ RUN pip install --no-cache-dir -r /code/requirements.txt
10
+
11
+ COPY app.py matrizMM.txt somcancer.pkl ./
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"]