build cookie server

This commit is contained in:
Shihaam Abdul Rahman 2025-01-10 07:59:41 +05:00
parent 0e60f139ef
commit a72f22b9a4
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 13 additions and 0 deletions

View File

@ -9,3 +9,8 @@ services:
context: ../../
dockerfile: .build/prod/api.Dockerfile
image: git.shihaam.dev/shihaam/mib-payment-verify/api
cookieserver:
build:
context: ../../
dockerfile: .build/prod/cookieserver.Dockerfile
image: git.shihaam.dev/shihaam/mib-payment-verify/cookieserver

View File

@ -0,0 +1,8 @@
FROM python:3.9.20-slim-bookworm
RUN pip install beautifulsoup4 pyotp Flask python-dotenv requests
RUN apt-get update && apt-get install -y curl jq && apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
CMD python getcookie.py