init frontend

This commit is contained in:
Yuzhong Zhang committed 2025-07-05 23:22:48 +08:00
1 parent 94953a5eac
commit 602f4629ff
771 files changed
+194268 -1

No files matched your search

+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