chore: clean up apt artifacts
This commit is contained in:
parent
4920a2813b
commit
151bbd3b31
|
@ -10,7 +10,9 @@ FROM debian:bullseye AS runtime
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl
|
||||
RUN apt-get update && apt-get upgrade --no-install-recommends -y \
|
||||
&& apt-get install -y --no-install-recommends curl \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=builder /app/main .
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
FROM node:16.17.0-bullseye
|
||||
|
||||
RUN apt-get update && apt-get upgrade --no-install-recommends -y \
|
||||
&& apt-get install -y --no-install-recommends curl \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
|
Loading…
Reference in New Issue