From 9788c642f91909a5ab666626469320834ab30db1 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 24 Jul 2023 11:04:17 +0200 Subject: [PATCH] Fixed Dockerfile --- examples/docker/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/docker/Dockerfile b/examples/docker/Dockerfile index 97993b17c..56ef34b18 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