mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Removed stack-size changing, replaced with FD limit
This commit is contained in:
parent
447ae93476
commit
7e1c65f616
1 changed files with 1 additions and 4 deletions
|
@ -224,9 +224,6 @@ USER wekan
|
|||
ENV PORT=8080
|
||||
EXPOSE ${PORT}
|
||||
|
||||
# Set the maximum stack size
|
||||
ENV STACK_SIZE=65500
|
||||
|
||||
# Define the stop signal for node
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
|
@ -234,4 +231,4 @@ STOPSIGNAL SIGINT
|
|||
VOLUME /data
|
||||
|
||||
# Set startup command
|
||||
CMD ["bash", "-c", "ulimit -s ${STACK_SIZE} && exec node /wekan/main.js"]
|
||||
CMD ["bash", "-c", "ulimit -n 65500 && exec node /wekan/main.js"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue