Skip to content

Commit

Permalink
improve a bit more with design and usablility
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Werner committed Nov 11, 2023
1 parent 3a06c8f commit 6aa9a5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Python runtime as a parent image
FROM python:3.11
FROM python:3.11-bookworm

ENV PYTHONUNBUFFERED 1
USER root
Expand All @@ -20,6 +20,7 @@ RUN pip3 config list
RUN pip3 install uwsgi
RUN --mount=type=cache,target=/root/.cache/pip pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
RUN --mount=type=cache,target=/root/.cache/pip pip3 install --no-cache-dir -r requirements.prod
RUN apt-get update && apt-get install -y sqlite3

RUN mkdir /.cache
RUN chmod 777 /.cache
Expand Down

0 comments on commit 6aa9a5e

Please sign in to comment.