mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
removing CMD directive and specifying handler in serverless script
This commit is contained in:
parent
efe07a6e87
commit
7f9b973890
2 changed files with 3 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ COPY ./model_data/EpcClean.py ./model_data/EpcClean.py
|
|||
COPY ./model_data/utils.py ./model_data/utils.py
|
||||
COPY ./model_data/epc_attributes/ ./model_data/epc_attributes/
|
||||
COPY ./datatypes/ ./datatypes/
|
||||
COPY ./utils/ ./utils/
|
||||
|
||||
# Define the handler location
|
||||
CMD ["backend.app.main.handler"]
|
||||
#CMD ["backend.app.main.handler"]
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ custom:
|
|||
|
||||
functions:
|
||||
app:
|
||||
handler: backend.app.main.handler
|
||||
image:
|
||||
uri: ${env:ECR_URI}:${env:GITHUB_SHA}
|
||||
events:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue