forked from lewandy/vue-s3-deployer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (20 loc) · 807 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM node:18.10-buster
LABEL "com.github.actions.name"="vue-s3-deployer"
LABEL "com.github.actions.description"="Github action for deploy Vue app to Amazon s3 bucket. "
LABEL "com.github.actions.icon"="archive"
LABEL "com.github.actions.color"="orange"
LABEL "maintainer"="Lewandy Diloné Bonifacio <[email protected]>"
LABEL "repository"="https://github.com/lewandy/vue-s3-deployer"
LABEL version="1.0.0"
# Install utilities
RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y unzip
# Install aws cli v2
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip > /dev/null 2>&1
RUN ./aws/install
ADD entrypoint.sh /entrypoint.sh
# Make entrypoint file executable
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]