Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

update docker file

aichy1268a5e386dd74f
diff --git a/Dockerfile b/Dockerfile
index c1bd53ba..abb4e47d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,11 @@
-FROM amd64/node AS node-builder
+# FROM amd64/node AS node-builder
+FROM amd64/node:18 AS node-builder
LABEL maintainer="mingcheng<[email protected]>"
COPY . /answer
WORKDIR /answer
+RUN node -v
RUN make install-ui-packages ui && mv ui/build /tmp
# stage2 build the main binary within static resource