update dockerfile

This commit is contained in:
涵曦 2024-06-23 10:18:07 +00:00
parent 088d448e10
commit b51e56718a

View File

@ -4,6 +4,9 @@ COPY requirements.txt .
RUN python3 -m venv .venv && .venv/bin/pip install --no-cache-dir -r requirements.txt
FROM python:3.10-slim
RUN apt-get update \
&& apt-get install -y wget \
&& apt-get clean
WORKDIR /app
COPY install_dependencies.sh .
RUN bash install_dependencies.sh