mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
24 lines
777 B
Docker
24 lines
777 B
Docker
FROM public.ecr.aws/lambda/python:3.11
|
|
|
|
WORKDIR /var/task
|
|
|
|
COPY applications/modelling_e2e/requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY datatypes/ datatypes/
|
|
COPY domain/ domain/
|
|
COPY infrastructure/ infrastructure/
|
|
COPY orchestration/ orchestration/
|
|
COPY repositories/ repositories/
|
|
COPY utilities/ utilities/
|
|
COPY harness/ harness/
|
|
|
|
# harness/console.py imports in-memory fakes from tests/orchestration/ at module
|
|
# load time; the fakes have no pytest dependency and are safe to ship.
|
|
COPY tests/__init__.py tests/__init__.py
|
|
COPY tests/orchestration/__init__.py tests/orchestration/__init__.py
|
|
COPY tests/orchestration/fakes.py tests/orchestration/fakes.py
|
|
|
|
COPY applications/ applications/
|
|
|
|
CMD ["applications.modelling_e2e.handler.handler"]
|