We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 264aacc commit 1d12bf6Copy full SHA for 1d12bf6
1 file changed
dockerfile
@@ -0,0 +1,13 @@
1
+FROM node:18-alpine as build
2
+
3
+WORKDIR /app/
4
+ADD . .
5
+RUN npm config set strict-ssl false \
6
+ && npm config set registry https://registry.npmmirror.com/ \
7
+ && npm install pnpm -g \
8
+ && pnpm i \
9
+ && pnpm build:plugin \
10
+ && pnpm build:prod
11
12
+FROM nginx:latest
13
+COPY --from=build /app/designer-demo/dist/ /usr/share/nginx/html/
0 commit comments