加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 557 Bytes
一键复制 编辑 原始数据 按行查看 历史
handadmin 提交于 2020-09-23 00:34 . [AUTO] commit project
FROM registry.cn-hangzhou.aliyuncs.com/choerodon-tools/frontbase:0.5.0
RUN echo "Asia/shanghai" > /etc/timezone;
RUN sed -i 's/\#gzip/gzip/g' /etc/nginx/nginx.conf;
ADD ./dist /usr/share/nginx/html
ADD ./docker/default.conf /etc/nginx/conf.d/
COPY ./docker/enterpoint.sh /usr/share/nginx/html
RUN chmod 777 /usr/share/nginx/html/enterpoint.sh
ENTRYPOINT ["/usr/share/nginx/html/enterpoint.sh"]
CMD ["nginx", "-g", "daemon off;"]
EXPOSE 80
# FROM nginx
# EXPOSE 80
# COPY --from=builder /app/public /usr/share/nginx/html
# ADD ./html /usr/share/nginx/html
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化