update code

This commit is contained in:
lychang
2024-01-12 06:38:54 +08:00
parent 260fe25aaf
commit 89237f3522
3 changed files with 18 additions and 10 deletions

View File

@@ -12,8 +12,11 @@ COPY ./src src
RUN cargo install --path . --color always
# Copy the app to an base Docker image, here we use distroless
FROM debian:bullseye-slim
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y ca-certificates
RUN update-ca-certificates
RUN mkdir -p /cache
COPY --from=builder /usr/local/cargo/bin/imspyder /imspyder
USER 1000