This commit is contained in:
p23 2024-12-22 13:00:25 +00:00
parent 4a9ebf55ce
commit c7e3f0ac7b
4 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ traceback.json
test.py
tmp
tmp/*
testfiles/*

View File

@ -12,7 +12,7 @@ RUN apt-get update && \
COPY ./requirements.txt /app/requirements.txt
COPY ./ffmpeg_python-0.2.0-py3-none-any.whl /app/ffmpeg_python-0.2.0-py3-none-any.whl
RUN pip3 install -r /app/requirements.txt
RUN pip3 install ffmpeg_python-0.2.0-py3-none-any.whl
RUN pip3 install -r /app/requirements.txt
EXPOSE 50051

View File

@ -16,6 +16,7 @@ grpclog = logging.getLogger("grpc")
grpclog.setLevel(level=logging.INFO)
# call account info / login
# may race condition
cache_accinfo = TTLCache(maxsize=1, ttl=GRPC_ACCINFO_CACHE)
@cached(cache_accinfo)
def call_IG_account_info():

View File

@ -1,3 +1,4 @@
moviepy==1.0.3
instagrapi
sqlalchemy
sqlalchemy_utils