move to docker dir

This commit is contained in:
Lex Berezhny 2020-08-13 11:50:20 -04:00
parent c914f24089
commit a77b1f9997
3 changed files with 5 additions and 4 deletions

View file

@ -1,2 +0,0 @@
*
!lbrynet

View file

@ -183,13 +183,16 @@ jobs:
uses: actions/download-artifact@v2
with:
name: lbrynet-ubuntu-16.04
- run: |
chmod +x lbrynet
mv lbrynet docker
- name: build and push docker image
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: lbry/lbrynet
dockerfile: docker/Dockerfile
path: docker
tag_with_ref: true
tag_with_sha: true
add_git_labels: true

View file

@ -1,5 +1,5 @@
FROM ubuntu:20.04
COPY lbrynet /bin
RUN chmod +x /bin/lbrynet
RUN lbrynet --version
ENTRYPOINT ["lbrynet"]
CMD ["start", "--full-node"]