1 Star 0 Fork 0

alanding/swagger-editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 562 Bytes
一键复制 编辑 原始数据 按行查看 历史
psubrownie 提交于 2019-08-28 15:53 . nginx 1.17
FROM nginx:1.17-alpine
MAINTAINER fehguy
RUN mkdir -p /run/nginx
COPY nginx.conf /etc/nginx/
# copy swagger files to the `/js` folder
COPY ./index.html /usr/share/nginx/html/
ADD ./dist/*.js /usr/share/nginx/html/dist/
ADD ./dist/*.map /usr/share/nginx/html/dist/
ADD ./dist/*.css /usr/share/nginx/html/dist/
ADD ./dist/*.png /usr/share/nginx/html/dist/
ADD ./docker-run.sh /usr/share/nginx/
RUN find /usr/share/nginx/html/ -type f -regex ".*\.\(html\|js\|css\)" -exec sh -c "gzip < {} > {}.gz" \;
EXPOSE 8080
CMD ["sh", "/usr/share/nginx/docker-run.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/alanding1989/swagger-editor.git
git@gitee.com:alanding1989/swagger-editor.git
alanding1989
swagger-editor
swagger-editor
master

搜索帮助