From e46cc73f6f6126ab44dcf45fd2b476e591cec815 Mon Sep 17 00:00:00 2001 From: Rory Shanks Date: Sat, 16 Mar 2024 23:39:06 +0100 Subject: [PATCH] Use slim node image to save space --- Dockerfile | 2 +- Dockerfile.dev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3a6d724..2a3b3b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM caddy:2.7-alpine AS caddy -FROM node +FROM node:slim RUN apt update && apt upgrade -y && apt install -y ca-certificates supervisor COPY --from=caddy /usr/bin/caddy /usr/bin/caddy COPY docker/supervisord.conf /etc/supervisord.conf diff --git a/Dockerfile.dev b/Dockerfile.dev index 7594084..81cd491 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,6 +1,6 @@ FROM caddy:2.7-alpine AS caddy -FROM node +FROM node:slim RUN apt update && apt upgrade -y && apt install -y ca-certificates supervisor COPY --from=caddy /usr/bin/caddy /usr/bin/caddy COPY docker/supervisord-dev.conf /etc/supervisord.conf