Skip to content

Commit

Permalink
'nightly' WSL2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Jan 15, 2025
1 parent 711f907 commit 277fa92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nightly/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ WORKDIR /root
EXPOSE 8188
ENV CLI_ARGS=""

# For WSL
ENV MESA_D3D12_DEFAULT_ADAPTER_NAME="NVIDIA"
ENV LD_LIBRARY_PATH="/usr/lib/wsl/lib:${LD_LIBRARY_PATH}"

# Let .pyc files be stored in one place
ENV PYTHONPYCACHEPREFIX="/root/.cache/pycache"
# Let PIP install packages to /root/.local
Expand Down

0 comments on commit 277fa92

Please sign in to comment.