Created
January 5, 2021 05:12
-
-
Save orcaman/886c641237e9a0bf86fce80d60c17915 to your computer and use it in GitHub Desktop.
Dockerfile
This file contains hidden or 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 | |
## install JRE - needed for PDF parser | |
RUN yum install -y \ | |
java-1.8.0-openjdk \ | |
java-1.8.0-openjdk-devel | |
ENV JAVA_HOME /etc/alternatives/jre | |
## copy app | |
WORKDIR ${LAMBDA_TASK_ROOT} | |
COPY . ./ | |
## install deps | |
RUN pip install -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment