We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d576b9c commit e4472faCopy full SHA for e4472fa
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM hyperknot/baseimage16:1.0.1
+FROM hyperknot/baseimage16:1.0.2
2
3
MAINTAINER friends@niiknow.org
4
@@ -14,6 +14,9 @@ ADD ./build/nginx_${NGINX_VERSION} /tmp
14
RUN \
15
cd /tmp \
16
17
+# increase ulimit
18
+ && echo "\n\n* soft nofile 800000\n* hard nofile 800000\n\n" >> /etc/security/limits.conf \
19
+
20
# add nginx repo
21
&& curl -s https://nginx.org/keys/nginx_signing.key | apt-key add - \
22
&& cp /etc/apt/sources.list /etc/apt/sources.list.bak \
files/etc/nginx/nginx.new
@@ -1,6 +1,7 @@
# Server globals
user www-data;
worker_processes auto;
+worker_rlimit_nofile 65535;
5
error_log /var/log/nginx/error.log warn;
6
pid /var/run/nginx.pid;
7
0 commit comments