File size: 579 Bytes
28e47c6
0559bc8
 
 
 
 
be0d5f9
f0c0e44
0559bc8
 
 
6c2af9a
 
 
 
 
 
0559bc8
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.10

WORKDIR /code

COPY ./requirements.txt /code/requirments.txt
RUN apt-get update && apt-get  install ffmpeg libsm6 libxext6 -y
RUN apt-get clean
RUN apt-get install -y ffmpeg 
RUN pip install --no-cache-dir --upgrade -r /code/requirments.txt

COPY . .
RUN chmod -R 777 ./DataBase
RUN chmod -R 777 ./static
RUN chmod -R 777 ./FaceRecognition/ExtactedFaces
RUN chmod -R 777 ./FaceRecognition/FaceModel
RUN chmod -R 777 ./IndoorLocalization/Data
RUN chmod -R 777 ./IndoorLocalization/IndoorModels

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