git clone https://github.com/silashansen/epark_automation.git
docker buildx build --platform linux/amd64 --push -t <region>.amazonaws.com/<imagename> .
From here, you create a lambda function and point to this image.
Create the following environment variables in your function or environment:
EPARK_USERNAME = <username>
EPARK_PASSWORD = <password>
pip3 install -r requirements.txt
*Make sure your pip is updatedโ
It is known that some dependencies for running locally are missing in requirements.txt, since they are a part the base image used in the Dockerfile above - you may have to experiment
python3 app.py