Clean up legacy and debugging code
This commit is contained in:
@@ -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
BIN
docker/build.tar
Normal file
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -20,5 +20,4 @@ gensim
|
||||
python-Levenshtein
|
||||
orjson
|
||||
uvloop
|
||||
numba
|
||||
elasticsearch[async]
|
||||
|
||||
Reference in New Issue
Block a user