优化打包

This commit is contained in:
sijinhui
2024-05-12 09:14:54 +08:00
parent 2a3ca8c86d
commit 88f1fa17d6
3 changed files with 6 additions and 6 deletions

View File

@@ -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"; \