1 Star 0 Fork 0

yang.liu636/mainsail

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 428 Bytes
一键复制 编辑 原始数据 按行查看 历史
#
# Builder stage, builds the application in node
#
FROM --platform=$BUILDPLATFORM node:20-alpine as builder
RUN apk add zip
WORKDIR /app
COPY package*.json /app/
RUN npm ci
COPY ./ /app/
RUN npm run build
#
# Runner stage, runs the application in nginx
#
FROM nginx:stable-alpine as runner
COPY --from=builder /app/.docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist/ /usr/share/nginx/html/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yang.liu636/mainsail.git
git@gitee.com:yang.liu636/mainsail.git
yang.liu636
mainsail
mainsail
develop

搜索帮助