Skip to content

Commit

Permalink
node-bootstrap-5.3.2-a
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Dec 25, 2023
1 parent cb8eeb6 commit 287cb6b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node-bootstrap-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
platforms: linux/amd64
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:devjs
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:dev
24 changes: 24 additions & 0 deletions node-bootstrap/Dockerfile-5.3.2-a
Original file line number Diff line number Diff line change
@@ -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 [email protected] [email protected] [email protected] [email protected]
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"]
11 changes: 9 additions & 2 deletions node-bootstrap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
- [email protected]
- [email protected]
- [email protected] with google fonts
- [my fork](https://github.com/aceberg/aceberg-bootswatch-fork) of [email protected] (more themes) with google fonts
- [email protected]
- [email protected]

<details>
<summary>Old tags</summary>
<a href="https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.0">5.3.2</a>:<br>
<li>[email protected]</li>
<li>[email protected]</li>
<li>[email protected] with google fonts</li>
<a href="https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.0">5.3.0</a>:<br>
<li>[email protected]</li>
<li>[email protected]</li>
Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion node-bootstrap/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=5.3.2
VERSION=5.3.2-a

0 comments on commit 287cb6b

Please sign in to comment.