mirror of
https://github.com/yeslayla/zappa-deploy-action.git
synced 2025-04-28 03:25:35 +02:00
Install zappa in container
This commit is contained in:
parent
9afc898b63
commit
ba88fd00a7
@ -8,7 +8,10 @@ LABEL "com.github.actions.color"="blue"
|
|||||||
LABEL repository="https://github.com/josephbmanley/zappa-deploy-action"
|
LABEL repository="https://github.com/josephbmanley/zappa-deploy-action"
|
||||||
LABEL maintainer="Joseph Manley <joseph@cloudsumu.com>"
|
LABEL maintainer="Joseph Manley <joseph@cloudsumu.com>"
|
||||||
|
|
||||||
USER root
|
RUN yum install python3 -y
|
||||||
|
|
||||||
|
RUN pip install zappa
|
||||||
|
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
@ -9,9 +9,6 @@ pip install virtualenv
|
|||||||
virtualenv .venv
|
virtualenv .venv
|
||||||
source ./.venv/bin/activate
|
source ./.venv/bin/activate
|
||||||
|
|
||||||
# Install Zappa
|
|
||||||
pip install zappa
|
|
||||||
|
|
||||||
# Install requirements
|
# Install requirements
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user