Skip to content

Commit

Permalink
Update rust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
billyjs authored Feb 10, 2024
1 parent ee215ac commit 9f8e55f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

Expand All @@ -15,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ FROM debian:bookworm-slim AS runtime
WORKDIR /app
COPY --from=builder /app/target/release/linker /usr/local/bin
ENV DATABASE_URL="sqlite:/data/db.sqlite"
ENV PORT=8000
ENV PORT=80
ENTRYPOINT ["/usr/local/bin/linker"]
EXPOSE 8000
EXPOSE 80

0 comments on commit 9f8e55f

Please sign in to comment.