1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-26 13:07:38 +08:00

[-] !!! Remove dockerfile and requirements.txt

This commit is contained in:
Azalea Gui 2023-01-05 19:50:19 -05:00
parent 294983aa0d
commit 864ab1adbf
No known key found for this signature in database
GPG Key ID: E289FAC0DA92DD2B
3 changed files with 0 additions and 23 deletions

View File

@ -1,13 +0,0 @@
FROM python:3.11-alpine
WORKDIR /app
COPY requirements.txt /app
# Since alpine doesn't have stable opencc yet, we need to add its testing repo.
# The opencc binary in the testing repo didn't include a libopencc.so.1 file but did include libopencc.so.1.1,
# 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=1.1.4-r0' git \
&& ln -s "/usr/lib/libopencc.so.1.1.3" "/usr/lib/libopencc.so.1" \
&& git config --global --add safe.directory /app

View File

@ -1,7 +0,0 @@
services:
convert:
container_name: oau-convert
build: .
volumes:
- ".:/app"
entrypoint: "./scripts/convert_zh.py"

View File

@ -1,3 +0,0 @@
opencc
hypy_utils
tqdm