-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile_1
More file actions
25 lines (21 loc) · 790 Bytes
/
Dockerfile_1
File metadata and controls
25 lines (21 loc) · 790 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
FROM alpine
# Upgrade existing packages in the base image
RUN apk --no-cache upgrade
# Install apache from packages with out caching install files
RUN apk add --no-cache apache2
# Creat directory for apache2 to store PID file
# RUN mkdir /run/apache2
# Open port for httpd access
EXPOSE 80
# Run httpd in foreground so that the container does not quit
# soon after start
# To run this container in the back ground use the -d option
#
# $ sudo docker run -d broadtech/alpine-:apache2
#
CMD ["-D","FOREGROUND"]
# Start httpd when container runs
ENTRYPOINT ["/usr/sbin/httpd"]
WORKDIR /app
RUN wget https://www.free-css.com/assets/files/free-css-templates/download/page292/simply-amazed.zip && unzip /app/simply-amazed.zip
RUN cp -r /app/2123_simply_amazed/* /var/www/localhost/htdocs