From 600f5bd919a5c398d779962123826472e022382e Mon Sep 17 00:00:00 2001 From: VillSource Date: Tue, 12 Mar 2024 01:33:22 +0700 Subject: [PATCH] fix: fix base image and install numpy and pandas --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7d472ae..c54b807 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM linuxserver/openssh-server:latest +FROM linuxserver/openssh-server:version-9.3_p2-r1 LABEL org.opencontainers.image.source = "https://github.com/UntitleCMS/Python-Sandbox" ENV PUBLIC_KEY_FILE=/config/authorized_keys @@ -17,6 +17,7 @@ ENV PYTHONUNBUFFERED=1 RUN apk add --update --no-cache python3 cpulimit && ln -sf python3 /usr/bin/python RUN python3 -m ensurepip RUN pip3 install --no-cache --upgrade pip setuptools +RUN pip3 install --no-cache numpy pandas RUN echo "cd /sourcecode" >> /config/.profile