File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,20 @@ COPY ./entity_api/Cargo.toml ./entity_api/Cargo.toml
1717COPY ./migration/Cargo.toml ./migration/Cargo.toml
1818COPY ./service/Cargo.toml ./service/Cargo.toml
1919COPY ./web/Cargo.toml ./web/Cargo.toml
20+
21+ # Make sure the src/bin directory exists before copying to it
22+ RUN mkdir -p src/bin
23+
24+ # Copy everything else
2025COPY . .
21- COPY src/bin/seed_db.rs ./src/bin/seed_db.rs
26+
27+ # Verifying file structure and src files existence
28+ RUN echo "Checking file structure:" && \
29+ ls -la && \
30+ echo "Checking src/bin directory:" && \
31+ ls -la src/bin && \
32+ echo "Checking if seed_db.rs exists:" && \
33+ test -f src/bin/seed_db.rs && echo "File exists!" || echo "File does not exist!"
2234
2335# Build release binaries for the current platform only
2436RUN cargo build --release --workspace
You can’t perform that action at this time.
0 commit comments