From 6d82cb9de64d72b1a208bbd54e98cb736e977a4a Mon Sep 17 00:00:00 2001 From: kasisnu <5044120+kasisnu@users.noreply.github.com> Date: Mon, 20 Nov 2023 11:11:44 +0530 Subject: [PATCH] updated dockerfiles for sqlx codegen --- service_cpu.Dockerfile | 1 + service_gpu.Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/service_cpu.Dockerfile b/service_cpu.Dockerfile index 5e186425b2..f1753f8a20 100644 --- a/service_cpu.Dockerfile +++ b/service_cpu.Dockerfile @@ -70,6 +70,7 @@ FROM rust-base AS builder # NB: Now we build and test our code. COPY Cargo.lock . COPY Cargo.toml . +COPY .sqlx/ .sqlx COPY crates/ ./crates COPY my-workspace-hack/ ./my-workspace-hack COPY includes/ ./includes diff --git a/service_gpu.Dockerfile b/service_gpu.Dockerfile index ef174a34af..b19282450e 100644 --- a/service_gpu.Dockerfile +++ b/service_gpu.Dockerfile @@ -70,6 +70,7 @@ FROM rust-base AS builder # NB: Now we build and test our code. COPY Cargo.lock . COPY Cargo.toml . +COPY .sqlx/ .sqlx COPY crates/ ./crates COPY my-workspace-hack ./my-workspace-hack COPY includes/ ./includes