Skip to content

Commit

Permalink
chores
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrohd committed Mar 23, 2024
1 parent 12adf2d commit a769e6d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,5 @@ jobs:
- name: 🔼 Publish to NPM
uses: JS-DevTools/npm-publish@v3
with:
package: ./marecchia
token: ${{ secrets.NPM_TOKEN }}
6 changes: 6 additions & 0 deletions crates/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/pkg
**/.git
**/.gitignore
target
Dockerfile
.dockerignore
9 changes: 9 additions & 0 deletions crates/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM rust as builder
WORKDIR /app
COPY . .
# Build only (the release of) marecchia-tracker packcage
RUN cargo build --release --package marecchia-tracker

FROM debian:stable-slim
COPY --from=builder /app/target/release/marecchia-tracker .
ENTRYPOINT ["./marecchia-tracker"]
1 change: 1 addition & 0 deletions crates/marecchia-p2p/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pkg
8 changes: 0 additions & 8 deletions crates/marecchia-tracker/Dockerfile

This file was deleted.

0 comments on commit a769e6d

Please sign in to comment.