Skip to content

Commit 1b32e75

Browse files
sypharGuillaumeGomez
authored andcommitted
fix docker builds
1 parent 3870220 commit 1b32e75

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dockerfiles/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ WORKDIR /build
5353
COPY benches benches
5454
COPY Cargo.lock Cargo.toml ./
5555
COPY crates crates
56+
COPY .sqlx .sqlx/
5657
RUN mkdir -p src/bin && \
5758
echo "fn main() {}" > src/bin/cratesfyi.rs && \
5859
echo "fn main() {}" > build.rs
5960

60-
ENV SQLX_OFFLINE=true
61-
6261
ARG PROFILE=release
6362
RUN --mount=type=cache,target=/usr/local/cargo/registry,id=cargo-registry,sharing=locked \
6463
--mount=type=cache,target=/build/target,id=cargo-target,sharing=locked \

0 commit comments

Comments
 (0)