From ba88fd00a7ac6f800eec20a1bf6e11a84b3cea8b Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Sun, 4 Oct 2020 18:18:07 -0400 Subject: [PATCH] Install zappa in container --- Dockerfile | 5 ++++- entrypoint.sh | 3 --- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f0fd847..d8001ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,10 @@ LABEL "com.github.actions.color"="blue" LABEL repository="https://github.com/josephbmanley/zappa-deploy-action" LABEL maintainer="Joseph Manley " -USER root +RUN yum install python3 -y + +RUN pip install zappa + ADD entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 380ff5a..f43c23f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,9 +9,6 @@ pip install virtualenv virtualenv .venv source ./.venv/bin/activate -# Install Zappa -pip install zappa - # Install requirements pip install -r requirements.txt