Skip to content

Commit

Permalink
Change Docker base image to slim (#437)
Browse files Browse the repository at this point in the history
Slim shaves about 400MB off the container when installed. It is always better to have smaller images, especially when installing these at the edge on routers and such.

Co-authored-by: Miroslav Bajtoš <oss@bajtos.net>
  • Loading branch information
zipiju and bajtos authored May 2, 2024
1 parent 529f672 commit 4a177ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20
FROM node:20-slim
LABEL org.opencontainers.image.source https://github.com/filecoin-station/core
USER node
WORKDIR /usr/src/app
Expand Down

0 comments on commit 4a177ae

Please sign in to comment.