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