*docker file bug

This commit is contained in:
lunaflora 2023-05-25 11:31:45 +08:00
parent 887f93181c
commit 75594b8fe5

View File

@ -42,7 +42,7 @@ EXPOSE 3000
CMD if [ -n "$PROXY_URL" ]; then \ CMD if [ -n "$PROXY_URL" ]; then \
if [ -z "$HOSTNAME" ]; then \ if [ -z "$HOSTNAME" ]; then \
export HOSTNAME="127.0.0.1" \ export HOSTNAME="127.0.0.1"; \
fi; \ fi; \
protocol=$(echo $PROXY_URL | cut -d: -f1); \ protocol=$(echo $PROXY_URL | cut -d: -f1); \
host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \ host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \