Skip to content

Commit

Permalink
missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sunce86 committed Oct 24, 2024
1 parent bd46d35 commit 3627cbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 64 deletions.
60 changes: 0 additions & 60 deletions .github/deploy.yml

This file was deleted.

9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Start from a minimal base image
FROM debian:buster-slim
FROM docker.io/rust:1-slim-bookworm as cargo-build
WORKDIR /src/

# Set the working directory
WORKDIR /app
# Install dependencies
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked apt-get update && \
apt-get install -y git libssl-dev pkg-config git

# Copy the binary from the `cross` build (adjust the path to your binary)
COPY target/x86_64-unknown-linux-gnu/release/data-migration /app/data-migration
Expand Down

0 comments on commit 3627cbf

Please sign in to comment.