Dependency name change (#33)
schedtxt_api Build / Rustfmt (push) Successful in 40s
schedtxt_api Build / Check (push) Successful in 1m21s
schedtxt_api Build / Test Suite (push) Successful in 2m50s
schedtxt_api Build / Clippy (push) Successful in 2m51s
schedtxt_api Build / build (push) Successful in 3m49s
schedtxt_api Build / Rustfmt (push) Successful in 40s
schedtxt_api Build / Check (push) Successful in 1m21s
schedtxt_api Build / Test Suite (push) Successful in 2m50s
schedtxt_api Build / Clippy (push) Successful in 2m51s
schedtxt_api Build / build (push) Successful in 3m49s
Reviewed-on: #33
This commit was merged in pull request #33.
This commit is contained in:
+3
-3
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user