Skip to content

Commit

Permalink
Purge APT after install
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoli Nicolae <[email protected]>
  • Loading branch information
anatolinicolae committed Mar 25, 2024
1 parent a6c6f69 commit 2b8511e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ ARG DEBIAN_FRONTEND="noninteractive"
WORKDIR /src

# Install openssl for Prisma
RUN apt-get update && apt-get install -y openssl
RUN apt-get update && \
apt-get install -y openssl && \
rm -rf /var/lib/apt/lists/*

# Install all node_modules, including dev dependencies
FROM base AS deps
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.image
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ ARG DEBIAN_FRONTEND="noninteractive"
WORKDIR /src

# Install openssl for Prisma
RUN apt-get update && apt-get install -y openssl
RUN apt-get update && \
apt-get install -y openssl && \
rm -rf /var/lib/apt/lists/*

# Install all node_modules, including dev dependencies
FROM base AS deps
Expand Down

0 comments on commit 2b8511e

Please sign in to comment.