File size: 305 Bytes
5b38336
 
 
 
 
 
 
 
85c6a17
06e3a51
c48156d
3c3f3a5
5b38336
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:3.13

WORKDIR /code

COPY ./requirements.txt /code/requirements.txt

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY . .

# RUN chown -R $(id -u):$(id -g) /code/archivos
RUN chmod -R a+w /code/archivos

CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]