From 0d27d8f3623d8b02f09a8b2af86689aa7f8ce7ee Mon Sep 17 00:00:00 2001 From: TriantaTV Date: Fri, 26 Jan 2024 13:57:35 -0600 Subject: [PATCH] add netcat to Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a3c033289..32ef8d82d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,10 +35,10 @@ COPY ./backend/requirements.txt ./requirements.txt RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu --no-cache-dir RUN pip3 install -r requirements.txt --no-cache-dir -# Install pandoc +# Install pandoc and netcat # RUN python -c "import pypandoc; pypandoc.download_pandoc()" RUN apt-get update \ - && apt-get install -y pandoc \ + && apt-get install -y pandoc netcat-openbsd \ && rm -rf /var/lib/apt/lists/* # RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('all-MiniLM-L6-v2')" @@ -53,4 +53,4 @@ COPY --from=build /app/build /app/build # copy backend files COPY ./backend . -CMD [ "sh", "start.sh" ] \ No newline at end of file +CMD [ "sh", "start.sh" ]