From 2d1bb246858d8b0aaefda5711102fef8cf1de7e4 Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Mon, 1 Aug 2022 11:27:56 +0800 Subject: [PATCH] chore: add redis and flask in docker build --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b969d2..e89b548 100644 --- a/Dockerfile +++ b/Dockerfile @@ -476,6 +476,8 @@ COPY --from=mad /tmp/mad /asset/usr/bin/ # Release docker image FROM python:3.10-alpine3.16 RUN \ - apk add --no-cache boost-program_options c-ares glib libev libsodium libstdc++ mbedtls pcre && \ - pip3 --no-cache-dir install colorlog pysocks requests IPy + apk add --no-cache boost-program_options c-ares \ + ca-certificates glib libev libsodium libstdc++ mbedtls pcre redis && \ + pip3 --no-cache-dir install colorlog flask IPy pysocks redis requests && \ + echo "daemonize yes" >> /etc/redis.conf COPY --from=asset /asset /