adjust puppeteer
Build and Push Docker Images / build-and-push (push) Successful in 4m12s

This commit is contained in:
2025-05-30 13:21:00 +02:00
parent 2d9f236798
commit 5d0ab2ebd0
2 changed files with 144 additions and 30 deletions
+5
View File
@@ -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