Update shlink-web-client with support for client-side generated QRs

This commit is contained in:
Alejandro Celaya
2025-04-17 08:46:31 +02:00
parent a7d6637a81
commit 9f3d7df5cd
5 changed files with 82 additions and 32 deletions

View File

@@ -1,8 +1,15 @@
FROM mcr.microsoft.com/playwright:v1.51.1-noble
ENV NODE_VERSION 22.14
ENV TINI_VERSION v0.19.0
# Install Node.js
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash && \
\. "$HOME/.nvm/nvm.sh" && \
nvm install ${NODE_VERSION}
# Install tini
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /sbin/tini
RUN chmod +x /sbin/tini
# Set tini as the entry point, as node does not properly handle signals
ENTRYPOINT ["/sbin/tini", "--"]