|
|
@ -1,10 +1,10 @@
|
|
|
|
FROM archlinux:latest
|
|
|
|
FROM debian:testing
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /root
|
|
|
|
WORKDIR /root
|
|
|
|
RUN pacman -Sy
|
|
|
|
RUN apt-get update
|
|
|
|
RUN pacman -S sqlcipher --noconfirm
|
|
|
|
RUN apt-get -y install python3
|
|
|
|
RUN pacman -S python --noconfirm
|
|
|
|
RUN apt-get -y install python3-pip
|
|
|
|
RUN pacman -S python-pip --noconfirm
|
|
|
|
RUN apt-get -y install sqlcipher
|
|
|
|
|
|
|
|
|
|
|
|
COPY code/requirements.txt ./code/
|
|
|
|
COPY code/requirements.txt ./code/
|
|
|
|
RUN pip install -r code/requirements.txt --break-system-packages
|
|
|
|
RUN pip install -r code/requirements.txt --break-system-packages
|
|
|
@ -12,4 +12,4 @@ COPY code/ ./code/
|
|
|
|
COPY config/ ./config/
|
|
|
|
COPY config/ ./config/
|
|
|
|
RUN mkdir output
|
|
|
|
RUN mkdir output
|
|
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["python", "code/main.py", "table", "--output", "/output/table.csv"]
|
|
|
|
CMD ["python3", "code/main.py", "table", "--output", "/output/table.csv"]
|
|
|
|