Skip to content

Commit

Permalink
Bootstrap-5.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Oct 17, 2023
1 parent 7eb3631 commit d6e9a3c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 deletions.
16 changes: 16 additions & 0 deletions node-bootstrap/Dockerfile-5.3.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM node:20-alpine

EXPOSE 8850/tcp
WORKDIR /app

RUN npm install http-server -g && \
npm install [email protected] [email protected] [email protected]

RUN apk add --no-cache bash

COPY node-bootstrap/download-fonts.sh /download-fonts.sh
RUN bash /download-fonts.sh /app/node_modules/bootswatch
RUN mkdir -p /app/icons

ENTRYPOINT ["http-server"]
CMD ["--cors", "-p", "8850"]
23 changes: 16 additions & 7 deletions node-bootstrap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@
http-server hosting node modules for my projects locally

# Tags
[5.3.0](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.0), [latest](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.0):
- [email protected]
- [email protected]
- [email protected] with google fonts
[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):
- [email protected]
- [email protected]
- [email protected] with google fonts

<details>
<summary>Old tags</summary>
<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>
<li>[email protected] with google fonts</li>
</details>

## Usage

If you want to use local icons in [miniboard](https://github.com/aceberg/miniboard), download them and mount icon folder (`~/.dockerdata/icons` in this example) to `/app/icons`. Then you can open it in browser and copy each icon link to miniboard.
```sh
docker run --name node-bootstrap \
-p 8850:8850 \
docker run --name node-bootstrap \
-v ~/.dockerdata/icons:/app/icons \ # Only for local icons
-p 8850:8850 \
aceberg/node-bootstrap
```

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.0
VERSION=5.3.2

0 comments on commit d6e9a3c

Please sign in to comment.