update
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -36,8 +36,8 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
36 |
RUN wget https://www.dropbox.com/scl/fi/105qy7mkqfjcmnfd3tmv0/edit.pth?rlkey=qcd67cdrqz4jra0p3er966iuk -O clevr.pth
|
37 |
RUN rm -rf ~/.cache/torch_extensions
|
38 |
|
39 |
-
RUN mkdir -m 700
|
40 |
-
ENV TORCH_EXTENSIONS_DIR=/home/${USER_NAME}
|
41 |
|
42 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
43 |
CMD ["python", "app.py"]
|
|
|
36 |
RUN wget https://www.dropbox.com/scl/fi/105qy7mkqfjcmnfd3tmv0/edit.pth?rlkey=qcd67cdrqz4jra0p3er966iuk -O clevr.pth
|
37 |
RUN rm -rf ~/.cache/torch_extensions
|
38 |
|
39 |
+
RUN mkdir -m 700 /home/${USER_NAME}/cache
|
40 |
+
ENV TORCH_EXTENSIONS_DIR=/home/${USER_NAME}/cache
|
41 |
|
42 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
43 |
CMD ["python", "app.py"]
|