Clean up legacy and debugging code

This commit is contained in:
2022-11-22 07:20:27 +00:00
parent 6f3db61532
commit 1c34aa4a01
7 changed files with 3 additions and 58 deletions

View File

@@ -16,9 +16,6 @@ COPY requirements.txt /code/
COPY discord-patched.tgz /code/
RUN python -m venv /venv
RUN ls
RUN ls /venv
RUN . /venv/bin/activate && ls
RUN . /venv/bin/activate && pip install -r requirements.txt
# && python -m spacy download en_core_web_sm

BIN
docker/build.tar Normal file

Binary file not shown.

View File

@@ -17,9 +17,9 @@ services:
threshold:
image: pathogen/threshold:latest
container_name: threshold
build: ./legacy/docker
build: ../legacy/docker
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ..:/code
- ${THRESHOLD_CONFIG_DIR}:/code/legacy/conf/live
#- ${THRESHOLD_TEMPLATE_DIR}:/code/conf/templates
- ${THRESHOLD_CERT_DIR}:/code/legacy/conf/cert
@@ -64,7 +64,7 @@ services:
soft: 65535
hard: 65535
volumes:
- ${PORTAINER_GIT_DIR}/docker/redis.conf:/etc/redis.conf
- ./redis.conf:/etc/redis.conf
- redis_data:/data
volumes_from:
- tmp

View File

@@ -20,5 +20,4 @@ gensim
python-Levenshtein
orjson
uvloop
numba
elasticsearch[async]