1 Star 2 Fork 4

xiaofeng01/sqllineage

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 582 Bytes
一键复制 编辑 原始数据 按行查看 历史
reata 提交于 2022-06-25 13:52 . chore: build docker image from source
FROM nikolaik/python-nodejs:python3.10-nodejs18-slim
# copy source files to docker image
ARG CWD=/mnt/sqllineage
ADD sqllineage/ ${CWD}/sqllineage
ADD sqllineagejs/ ${CWD}/sqllineagejs
COPY setup.py README.md ${CWD}/
WORKDIR ${CWD}
# build wheel package, install and remove all source code
RUN python setup.py bdist_wheel \
&& pip install dist/*.whl \
&& rm -rf ${CWD}/*
# Run the image as a non-root user
RUN adduser --quiet sqllineage
USER sqllineage
# $PORT environment variable will be passed with --env in docker run command
CMD sqllineage -g -H 0.0.0.0 -p $PORT
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/xiaofeng01/sqllineage.git
[email protected]:xiaofeng01/sqllineage.git
xiaofeng01
sqllineage
sqllineage
master

搜索帮助