[F] Better dockerfile stability

pull/35/head
Hykilpikonna 2022-12-03 03:25:25 -05:00
parent 989f307e52
commit 8cefeaa65c
No known key found for this signature in database
GPG Key ID: 256CD01A41D7FA26
2 changed files with 3 additions and 3 deletions

View File

@ -8,5 +8,5 @@ COPY requirements.txt /app
# So linking is necessary
RUN pip install -r requirements.txt \
&& echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --no-cache opencc@testing git \
&& ln -s $(find / -name "libopencc.so.1*" -print -quit) /usr/lib/libopencc.so.1 \
&& apk add --no-cache 'opencc@testing=1.1.4-r0' git \
&& ln -s "/usr/lib/libopencc.so.1.1.3" "/usr/lib/libopencc.so.1"

View File

@ -1 +1 @@
8f826c393e75c64e393b74ccdca67330c6462e4e
989f307e52fbb0dcda39d1a9fde5e14fb1c6f6f7