small fixes

This commit is contained in:
Fangjun Kuang 2023-07-27 19:07:53 +08:00
parent 1a5abfc348
commit bae8df8b0f
2 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,9 @@
# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages
name: Build docker image
on:
push:
branches:
- docker2
workflow_dispatch:
concurrency:

View File

@ -44,11 +44,15 @@ RUN pip install --no-cache-dir \
typeguard \
dill
RUN cd /opt/conda/lib/stubs && ln -s libcuda.so libcuda.so.1
RUN git clone https://github.com/k2-fsa/icefall /workspace/icefall && \
cd /workspace/icefall && \
pip install --no-cache-dir -r requirements.txt
ENV PYTHONPATH /workspace/icefall:$PYTHONPATH
ENV LD_LIBRARY_PATH /opt/conda/lib/stubs:$LD_LIBRARY_PATH
WORKDIR /workspace/icefall