diff --git a/examples/docker/Dockerfile b/examples/docker/Dockerfile index 97993b17..56ef34b1 100644 --- a/examples/docker/Dockerfile +++ b/examples/docker/Dockerfile @@ -2,17 +2,15 @@ # to generate your custom Dockerfile. -FROM python3.11:alpine +FROM python:3.11-alpine RUN mkdir -p /install /app COPY . /install -RUN cd /install RUN apk add --update --no-cache redis RUN apk add --update --no-cache --virtual build-base g++ rust RUN pip install -U pip -RUN pip install . +RUN cd /install && pip install . RUN apk del build-base g++ rust -RUN cd /app && python setup.py build install EXPOSE 8008 VOLUME /app/config