Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

ci: Dockerfile, add NODE_VERSION param

jamesread7216f2135d75
diff --git a/Dockerfile b/Dockerfile
index 454980032..d5c0016d9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,13 @@
+# This Dockerfile is used for producing 3 container images.
+#
+# base - which is thrown away, that contains node and the basic infrastructure.
+# devcontainer - which is used for development, and contains the source code and the node_modules.
+# dist - which is used for production, and contains the built source code and the node_modules.
+
+ARG NODE_VERSION="20.17"
+
# Base image
-FROM docker.io/node:20.17-alpine3.19 AS base
+FROM docker.io/node:${NODE_VERSION}-alpine3.19 AS base
## Just reduce unccessary noise in the logs.
ENV NPM_CONFIG_UPDATE_NOTIFIER=false