引入前端界面

This commit is contained in:
xxx
2024-06-05 16:15:38 +08:00
parent e97f0318e6
commit f5047edd91
367 changed files with 29746 additions and 0 deletions

13
playedu-pc/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:lts-slim as builder
WORKDIR /app
COPY . /app
RUN yarn config set registry https://registry.npm.taobao.org && yarn && yarn build
FROM nginx:1.23.4-alpine-slim
COPY --from=builder /app/dist /usr/share/nginx/html
COPY --from=builder /app/docker/nginx.conf /etc/nginx/nginx.conf