mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
commit
f3f95460da
1 changed files with 8 additions and 0 deletions
|
|
@ -30,5 +30,13 @@ COPY ./model_data/epc_attributes/ ./model_data/epc_attributes/
|
||||||
COPY ./datatypes/ ./datatypes/
|
COPY ./datatypes/ ./datatypes/
|
||||||
COPY ./utils/ ./utils/
|
COPY ./utils/ ./utils/
|
||||||
|
|
||||||
|
# Since we are not using a base AWS image, there is some additional setup required. We need to set up the runtime
|
||||||
|
# interface client
|
||||||
|
# https://docs.aws.amazon.com/lambda/latest/dg/python-image.html#python-image-clients
|
||||||
|
# Additionally install the AWS Lambda RIC
|
||||||
|
RUN pip install awslambdaric
|
||||||
|
|
||||||
|
# Set the ENTRYPOINT to the AWS Lambda RIC and CMD to your function handler
|
||||||
|
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
|
||||||
# Define the handler location
|
# Define the handler location
|
||||||
CMD ["backend.app.main.handler"]
|
CMD ["backend.app.main.handler"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue