yucheng-yu commited on
Commit
1094fa1
·
verified ·
1 Parent(s): c38c78a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -13,5 +13,7 @@ RUN echo 'cloning facechain:hf_space_fact'
13
  RUN git clone -b feat/hf_space_fact https://github.com/modelscope/facechain.git
14
  WORKDIR $HOME/facechain
15
  RUN pip install -r requirements.txt
 
 
16
  ENV PYTHONPATH=.
17
  CMD ["python", "app.py"]
 
13
  RUN git clone -b feat/hf_space_fact https://github.com/modelscope/facechain.git
14
  WORKDIR $HOME/facechain
15
  RUN pip install -r requirements.txt
16
+ RUN apt-get install -y libjemalloc-dev
17
+ ENV LD_PRELOAD $LD_PRELOAD:/lib/x86_64-linux-gnu/libjemalloc.so
18
  ENV PYTHONPATH=.
19
  CMD ["python", "app.py"]