Finish work on new builder, tweaking

This commit is contained in:
t3chn0m4g3
2024-09-11 10:42:17 +00:00
parent 4f3edb61b3
commit 29ad2a507d
41 changed files with 307 additions and 235 deletions

View File

@ -1,12 +1,11 @@
FROM node:20.13.1-alpine3.20
#
# VARS
ENV KB_VER=8.14.2
#
# Include dist
COPY dist/ /root/dist/
#
RUN apk -U --no-cache add \
# Install packages
RUN apk --no-cache -U add \
aria2 \
curl \
gcompat && \
@ -44,9 +43,9 @@ RUN apk -U --no-cache add \
#
# Clean up
apk del --purge aria2 && \
rm -rf /root/* && \
rm -rf /tmp/* && \
rm -rf /var/cache/apk/*
rm -rf /root/* \
/tmp/* \
/var/cache/apk/*
#
# Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:5601'