init frontend

This commit is contained in:
Yuzhong Zhang
2025-07-05 23:22:48 +08:00
parent 94953a5eac
commit 602f4629ff
771 changed files with 194268 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM node:18 AS build
WORKDIR /home/node/app
COPY . .
RUN npm install
RUN cd excalidraw-app && npm run build:app:docker
FROM nginx:1.21-alpine
COPY --from=build /home/node/app/excalidraw-app/build /usr/share/nginx/html
HEALTHCHECK CMD wget -q -O /dev/null http://localhost || exit 1