File size: 373 Bytes
1d197a9
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# Dockerfile
FROM public.ecr.aws/docker/library/python:3.9.16-slim-buster

COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.6.0 /lambda-adapter /opt/extensions/lambda-adapter
WORKDIR /var/task

COPY requirements.txt  ./requirements.txt
RUN python -m pip install -r requirements.txt

COPY app.py  ./
COPY scraper.py  ./
COPY model/  ./model/
CMD ["python3", "app.py"]