-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: cruvie <cruvie@>
- Loading branch information
cruvie
committed
Dec 12, 2024
1 parent
40d79ea
commit 2853e37
Showing
7 changed files
with
40 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#FROM nginx:latest | ||
#COPY ./kk_etcd_ui/build/web /usr/share/nginx/html/web | ||
#COPY ./kk_etcd_ui/lib/docker/default.conf /etc/nginx/conf.d/default.conf | ||
#EXPOSE 80 | ||
|
||
FROM jitesoft/lighttpd:latest | ||
|
||
COPY ../build/web /var/www/html | ||
EXPOSE 80 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
|
||
cd .. | ||
|
||
#docker build -t kk_etcd_ui_local -f docker/Dockerfile . | ||
|
||
# 本地构建测试 | ||
# docker build -t kk_etcd_ui_local -f docker/Dockerfile . | ||
# docker run --name kk_etcd_ui_local -p 2334:80 kk_etcd_ui_local | ||
|
||
|
||
# 多平台构建-发布 | ||
# docker login 可以先登陆docker desktop | ||
docker buildx build --platform linux/amd64,linux/arm64 -t cruvie/kk_etcd_ui:1.4.1 -f docker/Dockerfile . --push | ||
|
||
|
||
# 测试 | ||
# docker pull cruvie/kk_etcd_ui:1.4.1 | ||
# docker run --name kk_etcd_ui -p 2334:80 cruvie/kk_etcd_ui:1.4.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters