diff --git a/.github/workflows/node-bootstrap-dev.yml b/.github/workflows/node-bootstrap-dev.yml index 7e5943a..cbce7e2 100644 --- a/.github/workflows/node-bootstrap-dev.yml +++ b/.github/workflows/node-bootstrap-dev.yml @@ -32,4 +32,4 @@ jobs: platforms: linux/amd64 push: true tags: | - ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:devjs \ No newline at end of file + ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:dev \ No newline at end of file diff --git a/node-bootstrap/Dockerfile-5.3.2-a b/node-bootstrap/Dockerfile-5.3.2-a new file mode 100644 index 0000000..9eae776 --- /dev/null +++ b/node-bootstrap/Dockerfile-5.3.2-a @@ -0,0 +1,24 @@ +FROM ubuntu AS builder + +WORKDIR /git +RUN apt update && apt install -y git && git clone https://github.com/aceberg/aceberg-bootswatch-fork.git +RUN mkdir bootswatch +RUN cp -R aceberg-bootswatch-fork/dist bootswatch/ + + + +FROM node:20-alpine +EXPOSE 8850/tcp +WORKDIR /app + +RUN npm install http-server -g && \ + npm install bootstrap@5.3.2 bootstrap-icons@1.11.0 chart.js@4.4.1 chartjs-chart-matrix@2.0.1 +RUN mkdir -p /app/icons && apk add --no-cache bash + +COPY --from=builder /git/bootswatch /app/node_modules/bootswatch +COPY node-bootstrap/download-fonts.sh /download-fonts.sh + +RUN bash /download-fonts.sh /app/node_modules/bootswatch + +ENTRYPOINT ["http-server"] +CMD ["--cors", "-p", "8850"] diff --git a/node-bootstrap/README.md b/node-bootstrap/README.md index 2492d8a..91950a1 100644 --- a/node-bootstrap/README.md +++ b/node-bootstrap/README.md @@ -6,13 +6,19 @@ http-server hosting node modules for my projects locally # Tags -[5.3.2](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.2), [latest](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.2): +[5.3.2-a](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.2-a), [latest](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.2-a): - bootstrap@5.3.2 - bootstrap-icons@1.11.0 -- bootswatch@5.3.2 with google fonts +- [my fork](https://github.com/aceberg/aceberg-bootswatch-fork) of bootswatch@5.3.2 (more themes) with google fonts +- chart.js@4.4.1 +- chartjs-chart-matrix@2.0.1
Old tags + 5.3.2:
+
  • bootstrap@5.3.2
  • +
  • bootstrap-icons@1.11.0
  • +
  • bootswatch@5.3.2 with google fonts
  • 5.3.0:
  • bootstrap@5.3.0
  • bootstrap-icons@1.10.5
  • @@ -29,6 +35,7 @@ docker run --name node-bootstrap \ ``` ## Supported apps +- [ExerciseDiary](https://github.com/aceberg/ExerciseDiary) - [miniboard](https://github.com/aceberg/miniboard) - [WatchYourLAN](https://github.com/aceberg/WatchYourLAN) diff --git a/node-bootstrap/version b/node-bootstrap/version index eebb1aa..ecfb636 100644 --- a/node-bootstrap/version +++ b/node-bootstrap/version @@ -1 +1 @@ -VERSION=5.3.2 \ No newline at end of file +VERSION=5.3.2-a \ No newline at end of file