trying to make the pipeline builds work, desperately.
This commit is contained in:
@@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -y \
|
||||
WORKDIR /build
|
||||
|
||||
# Increase rustc stack size to prevent SIGSEGV during release builds
|
||||
ENV RUST_MIN_STACK=16777216
|
||||
ENV RUST_MIN_STACK=67108864
|
||||
|
||||
# Copy workspace configuration
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
@@ -54,9 +54,6 @@ RUN mkdir -p crates/worker/src && echo "fn main() {}" > crates/worker/src/main.r
|
||||
RUN mkdir -p crates/notifier/src && echo "fn main() {}" > crates/notifier/src/main.rs
|
||||
RUN mkdir -p crates/cli/src && echo "fn main() {}" > crates/cli/src/main.rs
|
||||
|
||||
# Copy SQLx metadata for compile-time query checking
|
||||
COPY .sqlx/ ./.sqlx/
|
||||
|
||||
# Copy only the source code needed for pack binaries
|
||||
COPY crates/common/ ./crates/common/
|
||||
COPY crates/core-timer-sensor/ ./crates/core-timer-sensor/
|
||||
|
||||
Reference in New Issue
Block a user