fixed name resolution error
This commit is contained in:
parent
8259469ca6
commit
02b6d80655
2 changed files with 3 additions and 8 deletions
|
@ -66,7 +66,8 @@ COPY rootfs /
|
||||||
COPY --from=build /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 \
|
COPY --from=build /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 \
|
||||||
/lib/x86_64-linux-gnu/libc.so.6 \
|
/lib/x86_64-linux-gnu/libc.so.6 \
|
||||||
/lib/x86_64-linux-gnu/libnss_files.so.2 \
|
/lib/x86_64-linux-gnu/libnss_files.so.2 \
|
||||||
/lib/x86_64-linux-gnu/libnsl.so.1 \
|
/lib/x86_64-linux-gnu/libnss_dns.so.2 \
|
||||||
|
/lib/x86_64-linux-gnu/libresolv.so.2 \
|
||||||
/lib/x86_64-linux-gnu/
|
/lib/x86_64-linux-gnu/
|
||||||
COPY --from=build /tmp/nginx/objs/nginx /nginx
|
COPY --from=build /tmp/nginx/objs/nginx /nginx
|
||||||
COPY --from=build /tmp/nginx/html /etc/nginx/html
|
COPY --from=build /tmp/nginx/html /etc/nginx/html
|
||||||
|
|
|
@ -14,13 +14,6 @@ Available at [`ricardbejarano/nginx`](https://hub.docker.com/r/ricardbejarano/ng
|
||||||
* Included [brotli](https://github.com/google/brotli) compression support (with [ngx_brotli](https://github.com/google/ngx_brotli))
|
* Included [brotli](https://github.com/google/brotli) compression support (with [ngx_brotli](https://github.com/google/ngx_brotli))
|
||||||
|
|
||||||
|
|
||||||
## Volumes
|
|
||||||
|
|
||||||
Mount your **configuration** on the container's `/etc/nginx` folder.
|
|
||||||
|
|
||||||
Mount your **web content** on the container's `/etc/nginx/html` folder.
|
|
||||||
|
|
||||||
|
|
||||||
## Filesystem
|
## Filesystem
|
||||||
|
|
||||||
The image's contents are:
|
The image's contents are:
|
||||||
|
@ -41,6 +34,7 @@ The image's contents are:
|
||||||
│ ├── ld-linux-x86-64.so.2
|
│ ├── ld-linux-x86-64.so.2
|
||||||
│ ├── libc.so.6
|
│ ├── libc.so.6
|
||||||
│ ├── libnss_files.so.2
|
│ ├── libnss_files.so.2
|
||||||
|
│ ├── libnss_dns.so.2
|
||||||
│ └── libresolv.so.2
|
│ └── libresolv.so.2
|
||||||
├── nginx
|
├── nginx
|
||||||
└── tmp/
|
└── tmp/
|
||||||
|
|
Loading…
Add table
Reference in a new issue