init
This commit is contained in:
6
osdict_front/Dockerfile
Normal file
6
osdict_front/Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM nginx:stable
|
||||
|
||||
COPY ./*.conf /etc/nginx/conf.d
|
||||
COPY . /var/local/web/
|
||||
|
||||
CMD [ "nginx", "-g", "daemon off;" ]
|
17
osdict_front/Makefile
Normal file
17
osdict_front/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
WORKDIR = $(shell pwd)
|
||||
PROJECT_NAME = osdict_front
|
||||
DOCKER_HUB_ADDR = registry.cn-beijing.aliyuncs.com/cypress-boat
|
||||
IMAGE_REPOSITORY = ${DOCKER_HUB_ADDR}/${PROJECT_NAME}
|
||||
TAG ?= latest
|
||||
IMAGE_REPOSITORY_TAG = ${IMAGE_REPOSITORY}:${TAG}
|
||||
|
||||
.PHONY: image publish
|
||||
|
||||
image:
|
||||
docker build --platform=amd64 -t ${IMAGE_REPOSITORY_TAG} .
|
||||
|
||||
publish:
|
||||
@echo "push ${IMAGE_REPOSITORY_TAG}"
|
||||
docker push ${IMAGE_REPOSITORY_TAG}
|
||||
|
||||
all: image publish
|
1
osdict_front/osdict-front/dist/css/app.26a77fe3.css
vendored
Normal file
1
osdict_front/osdict-front/dist/css/app.26a77fe3.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.localhistory-container{border:1px solid #ccc;border-radius:4px;background:#fff}
|
6
osdict_front/osdict-front/dist/css/chunk-vendors.815ddbf8.css
vendored
Normal file
6
osdict_front/osdict-front/dist/css/chunk-vendors.815ddbf8.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
osdict_front/osdict-front/dist/favicon.ico
vendored
Normal file
BIN
osdict_front/osdict-front/dist/favicon.ico
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
osdict_front/osdict-front/dist/fonts/bootstrap-icons.715b7ba5.woff2
vendored
Normal file
BIN
osdict_front/osdict-front/dist/fonts/bootstrap-icons.715b7ba5.woff2
vendored
Normal file
Binary file not shown.
BIN
osdict_front/osdict-front/dist/fonts/bootstrap-icons.a892cbb9.woff
vendored
Normal file
BIN
osdict_front/osdict-front/dist/fonts/bootstrap-icons.a892cbb9.woff
vendored
Normal file
Binary file not shown.
BIN
osdict_front/osdict-front/dist/img/g1.ac4f1c70.jpg
vendored
Normal file
BIN
osdict_front/osdict-front/dist/img/g1.ac4f1c70.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
3
osdict_front/osdict-front/dist/index.html
vendored
Normal file
3
osdict_front/osdict-front/dist/index.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>osdictvue</title><style>html,body{height: 100%;width: 100%;margin: 0px;overflow-y: auto;}
|
||||
.botton-link{display:inline-block;text-decoration:none;height:20px;line-height:20px;}
|
||||
.botton-text{float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;}</style><link href="/css/app.26a77fe3.css" rel="preload" as="style"><link href="/css/chunk-vendors.815ddbf8.css" rel="preload" as="style"><link href="/js/app.172fd3fb.js" rel="preload" as="script"><link href="/js/chunk-vendors.c967b810.js" rel="preload" as="script"><link href="/css/chunk-vendors.815ddbf8.css" rel="stylesheet"><link href="/css/app.26a77fe3.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but osdictvue2 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div style="width:300px;margin:0 auto; padding:20px 0;"><a href="https://beian.miit.gov.cn/" target="_blank" class="botton-link"><span class="botton-text">渝ICP备2021011178号</span></a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802037748" class="botton-link"><img src="http://www.beian.gov.cn/img/new/gongan.png" style="float:left;"><p class="botton-text">京公网安备 11010802037748号</p></a></div><script src="/js/chunk-vendors.c967b810.js"></script><script src="/js/app.172fd3fb.js"></script></body></html>
|
2
osdict_front/osdict-front/dist/js/app.172fd3fb.js
vendored
Normal file
2
osdict_front/osdict-front/dist/js/app.172fd3fb.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
osdict_front/osdict-front/dist/js/app.172fd3fb.js.map
vendored
Normal file
1
osdict_front/osdict-front/dist/js/app.172fd3fb.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
13
osdict_front/osdict-front/dist/js/chunk-vendors.c967b810.js
vendored
Normal file
13
osdict_front/osdict-front/dist/js/chunk-vendors.c967b810.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
osdict_front/osdict-front/dist/js/chunk-vendors.c967b810.js.map
vendored
Normal file
1
osdict_front/osdict-front/dist/js/chunk-vendors.c967b810.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
osdict_front/osdict-front/https版.zip
Normal file
BIN
osdict_front/osdict-front/https版.zip
Normal file
Binary file not shown.
BIN
osdict_front/osdict-front/http版.zip
Normal file
BIN
osdict_front/osdict-front/http版.zip
Normal file
Binary file not shown.
17
osdict_front/osdict.conf
Normal file
17
osdict_front/osdict.conf
Normal file
@ -0,0 +1,17 @@
|
||||
server {
|
||||
listen 80;
|
||||
#你的域名
|
||||
server_name 127.0.0.1;
|
||||
|
||||
location /api/ {
|
||||
rewrite /api/(.+)$ /$1 break;
|
||||
proxy_pass http://192.168.88.100:8000;
|
||||
}
|
||||
|
||||
location / {
|
||||
root /var/local/web/osdict-front/dist;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user