Browse Source

Merge pull request #1664 from RobinFrcd/robinfrcd/catch-sigint

Add dumb-init: catch signals
pull/1668/head
աɨռɢӄաօռɢ 3 years ago committed by GitHub
parent
commit
3cde1d92cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/nocodb/Dockerfile

6
packages/nocodb/Dockerfile

@ -50,7 +50,8 @@ ENV NC_TOOL_DIR=/usr/app/data/
RUN apk --update --no-cache add \
nodejs \
tar
tar \
dumb-init
# Copy litestream binary build
COPY --from=lt-builder /usr/src/lt /usr/src/appEntry/litestream
@ -58,6 +59,7 @@ COPY --from=lt-builder /usr/src/lt /usr/src/appEntry/litestream
COPY --from=builder /usr/src/appEntry/ /usr/src/appEntry/
EXPOSE 8080
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
# Start Nocodb
ENTRYPOINT ["sh", "/usr/src/appEntry/start.sh"]
CMD ["/usr/src/appEntry/start.sh"]

Loading…
Cancel
Save