diff --git a/Dockerfile b/Dockerfile index d62c52c..e089572 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,17 @@ FROM python:latest RUN apt update && apt install -y bash -RUN python3 -m pip install --upgrade pip +# 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 --mount=type=cache,mode=0755,target=/root/.cache/pip pip install -r ./requirements.txt RUN python3 -m nltk.downloader words punkt averaged_perceptron_tagger COPY ./src /kwaylon/src COPY pyproject.toml /kwaylon -RUN python3 -m pip install -e /kwaylon +RUN pip install -e /kwaylon + +CMD [ "kwaylon" ] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 8698a78..d411026 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,4 +14,3 @@ services: - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro - ./:/kwaylon - command: [ "kwaylon" ]