1 Star 0 Fork 2

jangocheng/bsin-minapp-wallet

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
Dockerfile 869 Bytes
Copy Edit Raw Blame History
boleixiongdi authored 2022-02-08 14:04 . 添加部署配置
# Base images 基础镜像
FROM centos:centos7
#MAINTAINER 维护者信息
MAINTAINER network-bigdata-cmss
#ADD 获取url中的文件,放在当前目录下
ADD http://nginx.org/download/nginx-1.15.3.tar.gz .
#RUN 执行以下命令
RUN yum install -y pcre-devel wget net-tools gcc zlib zlib-devel make openssl-devel
RUN tar -zxvf nginx-1.15.3.tar.gz
RUN mkdir -p /usr/local/nginx
RUN cd nginx-1.15.3 && ./configure && make && make install
RUN ln -s /usr/local/nginx/sbin/* /usr/local/sbin/
#REPLACE CONF 替换配置文件
RUN rm /usr/local/nginx/conf/nginx.conf
ADD config/nginx.conf /usr/local/nginx/conf/
#ADD RESOUCES 添加静态资源
RUN rm /usr/local/nginx/html/index.html
RUN mkdir -p /usr/local/nginx/html/static
COPY unpackage/dist/build/h5/ /usr/local/nginx/html/static
#EXPOSE 映射端口
EXPOSE 1204
#CMD 运行以下命令
CMD ["nginx"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jangocheng/bsin-minapp-wallet.git
git@gitee.com:jangocheng/bsin-minapp-wallet.git
jangocheng
bsin-minapp-wallet
bsin-minapp-wallet
master

Search

23e8dbc6 1850385 7e0993f3 1850385