[assets] update Dockerfile (#8201)

This commit is contained in:
hoshi-hiyouga 2025-05-28 20:20:59 +08:00 committed by GitHub
parent 9b152d9cb5
commit dbc9f5a5d9
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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