blob: 08f428d6a4bf81a5d283868fd70c8c9879b79088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
ARG UBUNTU_VERSION
FROM ubuntu:${UBUNTU_VERSION}
RUN apt-get update \
&& apt-get install -y nginx \
&& rm -rf /var/lib/apt/lists/*
COPY resources/nginx/nginx_server_mirroring.conf /nginx.conf
COPY script/nginx_server_entrypoint.sh /usr/bin/nginx_server_entrypoint.sh
COPY resources/nginx/html/index.html /usr/share/nginx/index.html
RUN fallocate -l 10MB /usr/share/nginx/httpTestFile
ENTRYPOINT ["nginx_server_entrypoint.sh"]
|