Skip to content

Commit c4ea82d

Browse files
committed
wip: fix nginx number of worker threads
1 parent 8ad1e01 commit c4ea82d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ FROM nginx:1.27-alpine AS final
2727
COPY config/public /var/www
2828
COPY config/nginx.conf /etc/nginx/conf.d/default.conf
2929

30+
RUN sed -i 's/worker_processes.*auto;/worker_processes 1;/' /etc/nginx/nginx.conf
31+
3032
EXPOSE 80
3133
EXPOSE 443
3234
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)