Skip to content

Commit

Permalink
Use slim node image to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
rorylshanks committed Mar 16, 2024
1 parent 75cf9cf commit e46cc73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e46cc73

Please sign in to comment.