embed-api / Dockerfile
Hansimov's picture
:recycle: [Refactor] Replace /encode with /embedding for less ambiguity, and fix docker CMD
48cf048
raw
history blame
No virus
209 Bytes
FROM python:3.11-slim
WORKDIR $HOME/app
COPY requirements.txt $HOME/app
RUN mkdir /.cache && chmod 777 /.cache
RUN pip install -r requirements.txt
COPY . $HOME/app
EXPOSE 16666
CMD ["python", "-m", "apps.app"]