improve Dockerfile
This commit is contained in:
parent
985558f33b
commit
0086079499
1 changed files with 6 additions and 1 deletions
|
@ -1,2 +1,7 @@
|
|||
FROM nginxinc/nginx-unprivileged:1.25.2
|
||||
FROM nginxinc/nginx-unprivileged:1.27.3
|
||||
|
||||
# set reasonable worker_processes (auto=number of host cpus)
|
||||
RUN sed -i -r 's/^(worker_processes)(.*)$/\1 '2';/' /etc/nginx/nginx.conf
|
||||
|
||||
COPY src /usr/share/nginx/html
|
||||
EXPOSE 8080
|
||||
|
|
Loading…
Add table
Reference in a new issue