We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7716eac commit 53d80dbCopy full SHA for 53d80db
Dockerfile
@@ -4,6 +4,9 @@ FROM rust:latest AS builder
4
# Set the working directory
5
WORKDIR /app
6
7
+# Install sqlx-cli
8
+RUN cargo install sqlx-cli
9
+
10
# Copy the entire workspace
11
COPY . .
12
@@ -27,6 +30,10 @@ COPY --from=builder /app/target/release/dservice /app/dservice
27
30
COPY --from=builder /app/target/release/dworker /app/dworker
28
31
COPY --from=builder /app/target/release/prover /app/prover
29
32
33
+# Copy the sqlx binary from the builder stage
34
+COPY --from=builder /usr/local/cargo/bin/sqlx /app/sqlx
35
+COPY migrations /app/migrations
36
37
38
# Expose necessary ports
39
EXPOSE 10002 9093 10001 20001
0 commit comments