Skip to content

Commit 3a05299

Browse files
committed
Add Dockerfile
1 parent 7fdc7f1 commit 3a05299

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
pull_request:
7+
branches: ["**"]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Build the Docker image
16+
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM node:alpine
2+
3+
RUN npm run build
4+
5+
EXPOSE 3000
6+
7+
ENTRYPOINT ["npm","run","start"]

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# LBRY Web
22

3+
[![Node.js CI](https://github.com/LBRYFoundation/lbry-web/actions/workflows/node.js.yml/badge.svg)](https://github.com/LBRYFoundation/lbry-web/actions/workflows/node.js.yml)
4+
[![Docker Image CI](https://github.com/LBRYFoundation/lbry-web/actions/workflows/docker-image.yml/badge.svg)](https://github.com/LBRYFoundation/lbry-web/actions/workflows/docker-image.yml)
5+
36
The LBRY Web interface to interact with the LBRY Daemon from in the browser.
47

58
## License

0 commit comments

Comments
 (0)