mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Merge pull request #923 from Hestia-Homes/feature/pashub-to-ara
Correct Lambda container entrypoint for AWS deployment (remove local emulator)
This commit is contained in:
commit
78163cca40
1 changed files with 5 additions and 2 deletions
|
|
@ -13,8 +13,11 @@ COPY backend/pashub_fetcher/ backend/pashub_fetcher/
|
|||
COPY backend/pashub_fetcher/handler/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Lambda entrypoint
|
||||
ENTRYPOINT ["/usr/local/bin/aws-lambda-rie", "python", "-m", "awslambdaric"]
|
||||
# Local lambda entrypoint
|
||||
# ENTRYPOINT ["/usr/local/bin/aws-lambda-rie", "python", "-m", "awslambdaric"]
|
||||
|
||||
#AWS lambda entrypoint
|
||||
ENTRYPOINT ["python", "-m", "awslambdaric"]
|
||||
|
||||
# -----------------------------
|
||||
# Lambda handler
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue