-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (26 loc) · 860 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
28
29
30
31
32
33
FROM nginx:latest
ARG BUILD_DATE
ARG BUILD_VERSION
### About this container
LABEL DOCKER_REPO="fitzdockerhub/openspeedtest"
LABEL BUILD_DATE="${BUILD_DATE}"
LABEL MAINTAINER="https://github.com/GitHubberFitz"
LABEL DOCUMENTATION="https://github.com/GitHubberFitz/openspeedtest"
LABEL OpenSpeedTest_VERSION="${BUILD_VERSION}"
### Remove initial httpd files
RUN rm -f /usr/share/nginx/html/*
### Move the files we only need
COPY ost/index.html /usr/share/nginx/html
COPY ost/hosted.html /usr/share/nginx/html
COPY ost/downloading /usr/share/nginx/html
COPY ost/upload /usr/share/nginx/html
COPY ost/License.md /usr/share/nginx/html
COPY ost/assets /usr/share/nginx/html
### Ports
EXPOSE 80/tcp
### Monitor HTTP process
#HEALTHCHECK CMD nginx || exit 1
### Start
#ENTRYPOINT ["/docker-entrypoint.sh"]
#STOPSIGNAL SIGQUIT
#CMD ["nginx", "-g", "daemon off;"]