From 9b7cf6e997231992f6ee821fcc44646ea5e9be9d Mon Sep 17 00:00:00 2001 From: Chi_Tang Date: Thu, 22 Dec 2022 13:45:12 +0800 Subject: [PATCH] Fixed Docker building --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a7de029e..4c8167320 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,5 +2,5 @@ FROM python:3.10-slim AS builder ENV WORKDIR /app WORKDIR $WORKDIR ADD . $WORKDIR -RUN apt-get install build-essential -y -RUN pip install --upgrade --no-cache-dir pip && pip install --no-cache-dir -r requirements.txt \ No newline at end of file +RUN apt update && apt install build-essential -y +RUN pip install --upgrade --no-cache-dir pip && pip install --no-cache-dir -r requirements.txt