From ef75c995beb429b1e9acd397a4bf22b9b17af62a Mon Sep 17 00:00:00 2001 From: Last2014 Date: Wed, 17 Dec 2025 19:43:34 +0900 Subject: [PATCH] Fix: path / Del: create config.json as dockerfile --- Dockerfile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index f0503f8..23f7627 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,23 +22,12 @@ COPY ./src ./ # Create replied_ids.json RUN touch replied_ids.json -# Create config.json -RUN cat < /app/config.json -{ - "host": "${UWUZU_HOST}", - "api_token": "${UWUZU_TOKEN}", - "random_ueuse": ${TWEET_ENABLED}, - "check_interval": ${CHECK_INTERVAL}, - "rana_core_log": ${THINK_OUTPUT_ENABLED} -} -EOF - # Copy entrypoint COPY ./entrypoint.sh /app/docker-entrypoint.sh RUN chmod +x /app/docker-entrypoint.sh # Change line break -RUN sed -i 's/\r$//' /entrypoint.sh \ +RUN sed -i 's/\r$//' /app/docker-entrypoint.sh \ && find /app -type f -exec sed -i 's/\r$//' {} \; # Run