perf:创建dockerfile
This commit is contained in:
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"livePreview.defaultPreviewPath": "/src/index.html"
|
"livePreview.defaultPreviewPath": "/src/index.html",
|
||||||
|
"Codegeex.RepoIndex": true
|
||||||
}
|
}
|
||||||
12
dockerfile
Normal file
12
dockerfile
Normal 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;"]
|
||||||
Reference in New Issue
Block a user