refractor: linting and redundant docker layer

This commit is contained in:
by-sabbir 2022-04-04 03:53:29 +06:00
parent ab1331c80a
commit a7efdbd8b8
2 changed files with 1 additions and 4 deletions

View file

@ -33,5 +33,4 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests libmaxminddb0 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& chmod -R 644 /usr/lib/nginx/modules/ngx_http_geoip2_module.so \
&& sed -i '1iload_module \/usr\/lib\/nginx\/modules\/ngx_http_geoip2_module.so;' /etc/nginx/nginx.conf
&& chmod -R 644 /usr/lib/nginx/modules/ngx_http_geoip2_module.so

View file

@ -17,8 +17,6 @@ http {
default_type application/octet-stream;
include /etc/nginx/conf.d/*.conf;
sendfile on;
#tcp_nopush on;