1 Star 0 Fork 1.6K

doushen / NiceFish

forked from 大漠穷秋 / NiceFish 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 560 Bytes
一键复制 编辑 原始数据 按行查看 历史
大漠穷秋 提交于 2023-03-10 22:07 . update-Dockerfile
##################################################################################
# IMPORTANT! DO NOT USE THIS CONFIG FOR PRODUCTION ENVIRONMENT! #
##################################################################################
FROM node:14.15.4 as node
WORKDIR /app
COPY . .
RUN npm install nrm
RUN nrm use taobao
RUN npm install
RUN npm run build
FROM nginx:1.23.2-alpine
RUN cd /
RUN mkdir /logs
RUN chmod 700 /logs
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY ./dist/browser /usr/share/nginx/html
EXPOSE 80
ENV PATH=$PATH:/root:/app:.
TypeScript
1
https://gitee.com/doushen/NiceFish.git
git@gitee.com:doushen/NiceFish.git
doushen
NiceFish
NiceFish
master

搜索帮助