qihang commited on
Commit
d810ae0
·
verified ·
1 Parent(s): 95adb25

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -34,7 +34,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
34
  RUN wget https://www.dropbox.com/scl/fi/105qy7mkqfjcmnfd3tmv0/edit.pth?rlkey=qcd67cdrqz4jra0p3er966iuk -O clevr.pth
35
  RUN rm -rf ~/.cache/torch_extensions
36
 
37
- RUN export TORCH_EXTENSIONS_DIR=/home/${USER_NAME}/.cache
38
 
39
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
40
  CMD ["python", "app.py"]
 
34
  RUN wget https://www.dropbox.com/scl/fi/105qy7mkqfjcmnfd3tmv0/edit.pth?rlkey=qcd67cdrqz4jra0p3er966iuk -O clevr.pth
35
  RUN rm -rf ~/.cache/torch_extensions
36
 
37
+ ENV TORCH_EXTENSIONS_DIR=/home/${USER_NAME}/.cache
38
 
39
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
40
  CMD ["python", "app.py"]