Spaces:
Sleeping
Sleeping
Si2469
commited on
Commit
•
9f6ad7f
1
Parent(s):
d7a42e5
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -3,11 +3,12 @@ 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 |
|
10 |
-
COPY . .
|
11 |
|
12 |
RUN chmod -R 777 /code
|
13 |
|
|
|
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 somlucuma.pkl ./
|
12 |
|
13 |
RUN chmod -R 777 /code
|
14 |
|