更新了Dockerfile中的docker build命令,以匹配新的叶版本。同时,更新了manifest.yaml中的镜像版本引用,从v0.0.1-fix-3更改为v0.0.1-fix-4。这次更新确保了正确的镜像版本被部署,并解决了先前存在的问题。
8 lines
219 B
Docker
8 lines
219 B
Docker
# docker build -t registry.leafdev.top/leaf/amber-web:v0.0.1-fix-4 .
|
|
FROM nginx:1.27.0-alpine
|
|
|
|
COPY dist /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"] |