Updating references
schedtxt_api PR / Rustfmt (pull_request) Successful in 1m17s
schedtxt_api PR / Check (pull_request) Successful in 1m24s
schedtxt_api PR / Clippy (pull_request) Successful in 1m53s

This commit is contained in:
2026-07-13 17:50:46 -04:00
parent 42b995ec21
commit caedbf124e
14 changed files with 163 additions and 171 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ COPY Cargo.toml Cargo.lock ./
RUN --mount=type=ssh mkdir src && \
echo "fn main() {println!(\"if you see this, the build broke\")}" > src/main.rs && \
cargo build --release --quiet && \
rm -rf src target/release/deps/textsender_api*
rm -rf src target/release/deps/schedtxt_api*
# Copy the actual source code
COPY src ./src
@@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y ca-certificates libssl-dev libssl3 && r
# Set the working directory
WORKDIR /usr/local/bin
COPY --from=builder /usr/src/app/target/release/textsender_api .
COPY --from=builder /usr/src/app/target/release/schedtxt_api .
COPY --from=builder /usr/src/app/.env .
COPY --from=builder /usr/src/app/migrations ./migrations
@@ -47,4 +47,4 @@ COPY --from=builder /usr/src/app/migrations ./migrations
EXPOSE 9081
# Set the command to run your application
CMD ["./textsender_api"]
CMD ["./schedtxt_api"]