File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Docker Image CI
22
33on :
4+ workflow_dispatch :
45 push :
56 branches : [ "master" ]
67 pull_request :
1920 submodules : recursive
2021
2122 - name : Build The Docker Image
22- run : docker build . --file Dockerfile --tag b1-showinfo-docs-docker-runtime:$(date +%s)
23+ run : docker build . --file Dockerfile --tag b1-showinfo-docs-docker-runtime
Original file line number Diff line number Diff line change @@ -5,12 +5,9 @@ WORKDIR /app
55COPY b1-showinfo-docs/package*.json ./
66COPY b1-showinfo-docs/data/requirements.txt ./
77
8- RUN npm config set registry https://registry.npmmirror.com \
9- && npm ci \
8+ RUN npm ci \
109 && npm cache clean --force \
11- && pip install --no-cache-dir \
12- -i https://pypi.tuna.tsinghua.edu.cn/simple \
13- -r requirements.txt \
10+ && pip install --no-cache-dir -r requirements.txt \
1411 && rm -rf /root/.cache/pip
1512
1613COPY . .
You can’t perform that action at this time.
0 commit comments