This commit is contained in:
1 parent
2d9f236798
commit
5d0ab2ebd0
2 files changed
+144
-30
No files matched your search
@@ -44,6 +44,11 @@ RUN useradd -m puppeteer && chown -R puppeteer:puppeteer /app
|
||||
# Create the database directory and set permissions
|
||||
RUN mkdir -p /db && chmod 777 /db && chown -R puppeteer:puppeteer /app
|
||||
|
||||
# Add system limits configuration
|
||||
RUN echo "* soft nofile 65535" >> /etc/security/limits.conf && \
|
||||
echo "* hard nofile 65535" >> /etc/security/limits.conf && \
|
||||
echo "session required pam_limits.so" >> /etc/pam.d/common-session
|
||||
|
||||
USER puppeteer
|
||||
|
||||
# Expose port
|
||||
|
||||
Reference in new issue
Block a user