added cli for handling the alive flag

This commit is contained in:
John Lancaster
2023-06-11 10:47:35 -05:00
parent f11ba04453
commit e7e3bf9c1f
4 changed files with 30 additions and 13 deletions

View File

@@ -2,13 +2,14 @@ FROM python:latest
RUN apt update && apt install -y bash
RUN python3 -m pip install --upgrade pip
RUN mkdir -p /kwaylon/src
WORKDIR /kwaylon
COPY ./requirements.txt ./requirements.txt
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip python3 -m pip install -r ./requirements.txt
RUN python3 -m nltk.downloader words punkt averaged_perceptron_tagger
RUN mkdir -p /kwaylon/src
COPY ./src /kwaylon/src
COPY pyproject.toml /kwaylon
WORKDIR /kwaylon
RUN python3 -m pip install -e /kwaylon