Dockerfile
This commit is contained in:
parent
abf1247f61
commit
f56229bcce
3 changed files with 5 additions and 6 deletions
|
@ -1,2 +1,2 @@
|
||||||
*
|
*
|
||||||
!dist/lbrynet
|
!lbrynet
|
||||||
|
|
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -126,8 +126,8 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-16.04
|
- ubuntu-16.04
|
||||||
- macos-latest
|
# - macos-latest
|
||||||
- windows-latest
|
# - windows-latest
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
@ -175,7 +175,7 @@ jobs:
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
needs: ["build"]
|
needs: ["build"]
|
||||||
name: "docker image"
|
name: "build (docker)"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
@ -183,7 +183,6 @@ jobs:
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: lbrynet-ubuntu-16.04
|
name: lbrynet-ubuntu-16.04
|
||||||
- run: ls
|
|
||||||
- name: build and push docker image
|
- name: build and push docker image
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
FROM ubuntu:20.04
|
FROM ubuntu:20.04
|
||||||
COPY ./dist/lbrynet /bin
|
COPY lbrynet /bin
|
||||||
ENTRYPOINT ["lbrynet", "start", "--full-node"]
|
ENTRYPOINT ["lbrynet", "start", "--full-node"]
|
||||||
|
|
Loading…
Reference in a new issue