Browse Source

chore: add redis and flask in docker build

master
dnomd343 2 years ago
parent
commit
2d1bb24685
  1. 6
      Dockerfile

6
Dockerfile

@ -476,6 +476,8 @@ COPY --from=mad /tmp/mad /asset/usr/bin/
# Release docker image # Release docker image
FROM python:3.10-alpine3.16 FROM python:3.10-alpine3.16
RUN \ RUN \
apk add --no-cache boost-program_options c-ares glib libev libsodium libstdc++ mbedtls pcre && \ apk add --no-cache boost-program_options c-ares \
pip3 --no-cache-dir install colorlog pysocks requests IPy 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 / COPY --from=asset /asset /

Loading…
Cancel
Save