mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 14:03:43 +08:00
网络模式
This commit is contained in:
@@ -65,9 +65,10 @@ COPY --from=builder /app/node_modules/sharp ./node_modules/sharp
|
||||
|
||||
RUN rm -f .env
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 23000
|
||||
ENV KEEP_ALIVE_TIMEOUT=30
|
||||
ENV HOSTNAME=""
|
||||
ENV HOSTNAME=127.0.0.1
|
||||
ENV PORT=23000
|
||||
|
||||
CMD if [ -n "$PROXY_URL" ]; then \
|
||||
export HOSTNAME="127.0.0.1"; \
|
||||
|
||||
Reference in New Issue
Block a user