Created
January 20, 2021 01:28
-
-
Save inoh/fbf362b908ebe6e6dda12d31803b790d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM public.ecr.aws/lambda/python:3.8 | |
ENV PYTHONUNBUFFERED=1 | |
RUN pip install poetry | |
COPY pyproject.toml poetry.lock ./ | |
RUN poetry export -f requirements.txt > requirements.txt | |
RUN pip install -r requirements.txt | |
COPY ./app ${LAMBDA_TASK_ROOT} | |
CMD [ "main.handler" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment