small tweaks
This commit is contained in:
@@ -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" ]
|
||||
@@ -14,4 +14,3 @@ services:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ./:/kwaylon
|
||||
command: [ "kwaylon" ]
|
||||
|
||||
Reference in New Issue
Block a user