From 864ab1adbff02c66879805058a2d78d7aa31b32a Mon Sep 17 00:00:00 2001 From: Azalea Gui Date: Thu, 5 Jan 2023 19:50:19 -0500 Subject: [PATCH] [-] !!! Remove dockerfile and requirements.txt --- Dockerfile | 13 ------------- docker-compose.yml | 7 ------- requirements.txt | 3 --- 3 files changed, 23 deletions(-) delete mode 100644 Dockerfile delete mode 100644 docker-compose.yml delete mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index f7f181c3..00000000 --- a/Dockerfile +++ /dev/null @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 40ef899e..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,7 +0,0 @@ -services: - convert: - container_name: oau-convert - build: . - volumes: - - ".:/app" - entrypoint: "./scripts/convert_zh.py" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 8d402495..00000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -opencc -hypy_utils -tqdm