mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
[assets] update Dockerfile (#8201)
This commit is contained in:
parent
9b152d9cb5
commit
dbc9f5a5d9
@ -18,6 +18,9 @@ ENV PIP_ROOT_USER_ACTION=ignore
|
|||||||
ENV http_proxy="${HTTP_PROXY}"
|
ENV http_proxy="${HTTP_PROXY}"
|
||||||
ENV https_proxy="${HTTP_PROXY}"
|
ENV https_proxy="${HTTP_PROXY}"
|
||||||
|
|
||||||
|
# Use Bash instead of default /bin/sh
|
||||||
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
# Set the working directory
|
# Set the working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@ ENV PIP_ROOT_USER_ACTION=ignore
|
|||||||
ENV http_proxy="${HTTP_PROXY}"
|
ENV http_proxy="${HTTP_PROXY}"
|
||||||
ENV https_proxy="${HTTP_PROXY}"
|
ENV https_proxy="${HTTP_PROXY}"
|
||||||
|
|
||||||
|
# Use Bash instead of default /bin/sh
|
||||||
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
# Set the working directory
|
# Set the working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user