"test/srt/git@developer.sourcefind.cn:change/sglang.git" did not exist on "7ec5b4e89c16dc91bfee64099fa8d7ad7bb538a2"
Commit 0d27d8f3 authored by TriantaTV's avatar TriantaTV
Browse files

add netcat to Dockerfile

parent 0e831f4c
...@@ -35,10 +35,10 @@ COPY ./backend/requirements.txt ./requirements.txt ...@@ -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 torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu --no-cache-dir
RUN pip3 install -r requirements.txt --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 python -c "import pypandoc; pypandoc.download_pandoc()"
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y pandoc \ && apt-get install -y pandoc netcat-openbsd \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('all-MiniLM-L6-v2')" # 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 ...@@ -53,4 +53,4 @@ COPY --from=build /app/build /app/build
# copy backend files # copy backend files
COPY ./backend . COPY ./backend .
CMD [ "sh", "start.sh" ] CMD [ "sh", "start.sh" ]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment