-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterm
More file actions
29 lines (21 loc) · 654 Bytes
/
term
File metadata and controls
29 lines (21 loc) · 654 Bytes
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
28
29
FROM amazonlinux:latest
# Install dependencies
RUN yum update -y && \
yum install -y httpd && \
yum search wget && \
yum install wget -y && \
yum install unzip -y
# change directory
RUN cd /var/www/html
# download webfiles
RUN wget https://github.com/azeezsalu/jupiter/archive/refs/heads/main.zip
# unzip folder
RUN unzip main.zip
# copy files into html directory
RUN cp -r jupiter-main/* /var/www/html/
# remove unwanted folder
RUN rm -rf jupiter-main main.zip
# exposes port 80 on the container
EXPOSE 80
# set the default application that will start when the container start
ENTRYPOINT ["/usr/sbin/httpd", "-D", "FOREGROUND"]