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