This commit is contained in:
kira-offgrid 2025-08-08 00:16:42 +02:00 committed by GitHub
commit d7128a95ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,4 +83,10 @@ EXPOSE 3000/tcp
# used for calibre # used for calibre
ENV QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox" ENV QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"
ENV NODE_ENV=production ENV NODE_ENV=production
# Create a non-root user to run the application
RUN useradd -r -u 1001 -g root -s /bin/false convertx
# Switch to non-root user
USER convertx
ENTRYPOINT [ "bun", "run", "./src/index.tsx" ] ENTRYPOINT [ "bun", "run", "./src/index.tsx" ]