build cookie server
This commit is contained in:
parent
0e60f139ef
commit
a72f22b9a4
@ -9,3 +9,8 @@ services:
|
|||||||
context: ../../
|
context: ../../
|
||||||
dockerfile: .build/prod/api.Dockerfile
|
dockerfile: .build/prod/api.Dockerfile
|
||||||
image: git.shihaam.dev/shihaam/mib-payment-verify/api
|
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
|
||||||
|
8
.build/prod/cookieserver.Dockerfile
Normal file
8
.build/prod/cookieserver.Dockerfile
Normal 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
|
Loading…
x
Reference in New Issue
Block a user