Install zappa in container

This commit is contained in:
Layla 2020-10-04 18:18:07 -04:00
parent 9afc898b63
commit ba88fd00a7
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,10 @@ LABEL "com.github.actions.color"="blue"
LABEL repository="https://github.com/josephbmanley/zappa-deploy-action"
LABEL maintainer="Joseph Manley <joseph@cloudsumu.com>"
USER root
RUN yum install python3 -y
RUN pip install zappa
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -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