changed from bullseye to bookworm + removed unused steps

This commit is contained in:
Jannik Streidl 2024-03-14 11:33:54 +01:00
parent 50bec32153
commit 384b7e8462

View file

@ -1,14 +1,14 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
######## WebUI frontend ######## ######## WebUI frontend ########
FROM node:21-bullseye-slim as build FROM node:21-bookworm-slim as build
WORKDIR /app WORKDIR /app
RUN apt-get update \ #RUN apt-get update \
&& apt-get install -y --no-install-recommends wget \ # && apt-get install -y --no-install-recommends wget \
# cleanup # # cleanup
&& rm -rf /var/lib/apt/lists/* # && rm -rf /var/lib/apt/lists/*
# wget embedding model weight from alpine (does not exist from slim-buster) # wget embedding model weight from alpine (does not exist from slim-buster)
#RUN wget "https://chroma-onnx-models.s3.amazonaws.com/all-MiniLM-L6-v2/onnx.tar.gz" -O - | \ #RUN wget "https://chroma-onnx-models.s3.amazonaws.com/all-MiniLM-L6-v2/onnx.tar.gz" -O - | \