Philip H
8 months ago
No known key found for this signature in database
GPG Key ID: DA39C2199C603FA5
3 changed files with
4 additions and
4 deletions
-
.github/workflows/lint.yml
-
.github/workflows/npm-update-bot.yml
-
Dockerfile
|
|
@ -18,7 +18,7 @@ jobs: |
|
|
|
- name: Setup Node |
|
|
|
uses: actions/setup-node@v4 |
|
|
|
with: |
|
|
|
node-version: '20' |
|
|
|
node-version: 'lts/*' |
|
|
|
check-latest: true |
|
|
|
cache: 'npm' |
|
|
|
|
|
|
|
|
|
@ -20,7 +20,7 @@ jobs: |
|
|
|
- name: Setup Node |
|
|
|
uses: actions/setup-node@v4 |
|
|
|
with: |
|
|
|
node-version: '20' |
|
|
|
node-version: 'lts/*' |
|
|
|
check-latest: true |
|
|
|
cache: 'npm' |
|
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ RUN npm ci --omit=dev &&\ |
|
|
|
|
|
|
|
# Copy build result to a new image. |
|
|
|
# This saves a lot of disk space. |
|
|
|
FROM docker.io/library/node:20-alpine |
|
|
|
FROM docker.io/library/node:lts-alpine |
|
|
|
HEALTHCHECK CMD /usr/bin/timeout 5s /bin/sh -c "/usr/bin/wg show | /bin/grep -q interface || exit 1" --interval=1m --timeout=5s --retries=3 |
|
|
|
COPY --from=build_node_modules /app /app |
|
|
|
|
|
|
@ -46,4 +46,4 @@ ENV DEBUG=Server,WireGuard |
|
|
|
|
|
|
|
# Run Web UI |
|
|
|
WORKDIR /app |
|
|
|
CMD ["/usr/bin/dumb-init", "node", "server.js"] |
|
|
|
CMD ["/usr/bin/dumb-init", "node", "server.js"] |
|
|
|