forked from journeescloud2021/journeescloud2021.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
17 lines (11 loc) · 654 Bytes
/
Dockerfile
File metadata and controls
17 lines (11 loc) · 654 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM nginx:1.16.1
EXPOSE 80
RUN echo "deb http://security.debian.org/debian-security stretch/updates main" > /etc/apt/sources.security.only.list
RUN apt-get -y update -o Dir::Etc::SourceList=/etc/apt/sources.security.only.list -o Dir::Etc::Parts=/dev/null
RUN apt-get -y upgrade -o Dir::Etc::SourceList=/etc/apt/sources.security.only.list -o Dir::Etc::Parts=/dev/nulld
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/nginx.conf
COPY scripts/docker/start-nginx.sh /usr/share/nginx/start-nginx.sh
COPY dist/mulder /usr/share/nginx/html
COPY version /usr/share/nginx/html/assets/version
ENTRYPOINT ["/usr/share/nginx/start-nginx.sh"]