From 21629be1f1cb8ffcc76875555cdd14bddcf71a93 Mon Sep 17 00:00:00 2001 From: Paul Feitzinger Date: Mon, 25 Nov 2024 18:36:40 -0500 Subject: [PATCH] use debian:testing instead of arch --- Dockerfile | 12 ++++++------ code/requirements.txt | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1afef4..cd98f5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM archlinux:latest +FROM debian:testing WORKDIR /root -RUN pacman -Sy -RUN pacman -S sqlcipher --noconfirm -RUN pacman -S python --noconfirm -RUN pacman -S python-pip --noconfirm +RUN apt-get update +RUN apt-get -y install python3 +RUN apt-get -y install python3-pip +RUN apt-get -y install sqlcipher COPY code/requirements.txt ./code/ RUN pip install -r code/requirements.txt --break-system-packages @@ -12,4 +12,4 @@ COPY code/ ./code/ COPY config/ ./config/ RUN mkdir output -ENTRYPOINT ["python", "code/main.py", "table", "--output", "/output/table.csv"] +CMD ["python3", "code/main.py", "table", "--output", "/output/table.csv"] diff --git a/code/requirements.txt b/code/requirements.txt index daf51fb..fda4dd6 100644 --- a/code/requirements.txt +++ b/code/requirements.txt @@ -1,2 +1,2 @@ -pandas==2.2.3 -scikit-learn==1.5.2 +pandas +scikit-learn