update docker file

This commit is contained in:
aichy126 2023-04-21 18:36:05 +08:00
parent aa60c02b5f
commit 8a5e386dd7
1 changed files with 3 additions and 1 deletions

View File

@ -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<mc@sf.com>"
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