Ai
1 Star 0 Fork 0

nanoFramework中文社区/docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 345 Bytes
一键复制 编辑 原始数据 按行查看 历史
Token 提交于 2023-06-06 01:31 +08:00 . 重命名 dockerFile 为 Dockerfile
FROM nginx:stable-alpine AS base
WORKDIR /app
EXPOSE 80
FROM node:16-alpine3.15 AS build
WORKDIR /src
COPY . .
WORKDIR "/src"
RUN npm config set registry https://registry.npm.taobao.org
RUN npm i
RUN npm run build
FROM base AS docs-web
WORKDIR /wwwroot
COPY --from=build /src/build /wwwroot/
COPY stack/docs.conf /etc/nginx/conf.d/default.conf
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nanoframework/docs.git
git@gitee.com:nanoframework/docs.git
nanoframework
docs
docs
master

搜索帮助