Skip to content

Instantly share code, notes, and snippets.

@sscovil
Created November 30, 2022 02:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sscovil/7b3fadf3713ca6b618f29e55cd197718 to your computer and use it in GitHub Desktop.
Save sscovil/7b3fadf3713ca6b618f29e55cd197718 to your computer and use it in GitHub Desktop.
Python Keyphrase Extraction (PKE) AWS Lambda Docker Image (3/3)
FROM amazon/aws-lambda-python:3.9
COPY lambda_function.py requirements.txt ${LAMBDA_TASK_ROOT}/
RUN pip install -U pip setuptools wheel
RUN pip install -r requirements.txt
CMD [ "lambda_function.lambda_handler" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment