Skip to content

Commit bcb2e16

Browse files
(master) dockerfile
1 parent e62e74e commit bcb2e16

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
cargo build --release --target x86_64-unknown-linux-gnu
3030
- name: Upload binary to release
31-
uses: svenstaro/upload-release-action@v3
31+
uses: svenstaro/upload-release-action@v2
3232
with:
3333
release_name: nightly build ${{ github.sha }}
3434
prerelease: true

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Download binary for backend and run it
2+
3+
FROM debian:bookworm
4+
5+
EXPOSE 3001
6+
7+
RUN apt-get -y update; apt-get -y install curl wget
8+
9+
RUN curl -s https://api.github.com/repos/gitbounties/backend/releases/latest \
10+
| grep "browser_download_url" \
11+
| cut -d : -f 2,3 \
12+
| tr -d \" \
13+
| wget -qi -
14+
15+
RUN chmod 755 ./gitbounties_backend
16+
17+
CMD ["./gitbounties_backend"]

0 commit comments

Comments
 (0)