Update Dockerfile

This commit is contained in:
Joseph Cheung 2023-02-28 22:08:05 +08:00
parent 37fe056ccd
commit b6c78c731d

View file

@ -4,7 +4,7 @@ FROM python:3.11-slim-bullseye as builder
RUN apt-get update && apt-get install -y gcc curl
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && apt-get install --reinstall libc6-dev -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN pip install --upgrade pip && pip install tiktoken
RUN pip install --upgrade pip && pip install transformers
FROM python:3.11-alpine
ENTRYPOINT ["/sbin/tini","--","/usr/local/searxng/dockerfiles/docker-entrypoint.sh"]