From 1fff70f06ce7c62d437e8189d5cc8f1942de4f55 Mon Sep 17 00:00:00 2001 From: max Date: Mon, 23 Dec 2024 18:35:02 +0000 Subject: [PATCH] remove .env and config.json file creation in dockerfile --- Dockerfile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1990f1d..c2e7cdf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,4 @@ WORKDIR /catask COPY . . RUN pip install --no-cache-dir -r requirements.txt -RUN echo $'DB_HOST = 127.0.0.1\n\ -DB_NAME = catask\n\ -DB_USER = catask\n\ -DB_PASS = catask\n\ -DB_PORT = 3306\n\ -ADMIN_PASSWORD = $ADMIN_PASSWORD\n\ -APP_SECRET = $(python3 -c "import secrets; print(secrets.token_hex())")' > .env -COPY ./config.example.json ./config.json - ENTRYPOINT [ "gunicorn", "-w", "4", "app:app" ] \ No newline at end of file