clean apt cache in Dockerfile (#932)

* clean apt cache in Dockerfile

* Change /app to app, to be in sync with changes from mainline
This commit is contained in:
Vlad Stepanov 2023-06-17 00:59:52 +04:00 committed by GitHub
parent 4077c33adf
commit 3c649b5b3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,8 @@ RUN cargo build --release --bin atuin
FROM debian:bullseye-20230612-slim AS runtime
RUN useradd -c 'atuin user' atuin && mkdir /config && chown atuin:atuin /config
RUN apt update && apt install ca-certificates -y # so that webhooks work
# Install ca-certificates for webhooks to work
RUN apt update && apt install ca-certificates -y && rm -rf /var/lib/apt/lists/*
WORKDIR app
USER atuin