From 446b15d012d6f12a85a4746d112612e2c240233a Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 27 Sep 2024 09:46:48 +0300 Subject: [PATCH] dockerfile-fix4 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 907aa32..4131aa0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,12 +17,12 @@ FROM python:slim WORKDIR /app # Copy only necessary files from the builder stage -# COPY --from=builder /usr/local/lib/python/dist-packages /usr/local/lib/python/dist-packages -# COPY --from=builder /usr/local/lib/python3/dist-packages /usr/local/lib/python3/dist-packages COPY --from=builder /usr/local/lib/python3.*/dist-packages /usr/local/lib/python3.*/dist-packages COPY . . +RUN pip install redis[hiredis] + EXPOSE 8080 CMD ["python", "main.py"] \ No newline at end of file