perf:创建dockerfile

This commit is contained in:
2026-01-20 03:30:51 +00:00
parent 2a54c3e134
commit 7970588fe8
2 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
{ {
"livePreview.defaultPreviewPath": "/src/index.html" "livePreview.defaultPreviewPath": "/src/index.html",
"Codegeex.RepoIndex": true
} }

12
dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM harbor.ingress.lab.gitfitlive.com/mirror/nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
COPY src/ /usr/share/nginx/html/
# COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]