diff --git a/Dockerfile b/Dockerfile deleted file mode 100755 index 323319d..0000000 --- a/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -FROM debian:bookworm-slim AS base - -USER root -# Non-Interactive packages install/upgrade -RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections - -WORKDIR /app -# copy the content of the local directory to the working directory -COPY . . - -# Install pre-requisites -RUN apt-get update && apt-get upgrade -y && apt-get clean -RUN apt-get install -y build-essential python3 python3-dev python3-pip python3-distutils python3-tornado gnupg wget unzip procps nano tar vim tshark - -# Install Python pip packages dependencies (if any) -# RUN pip3 install -r requirements.txt - -# Install Chrome -RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list -RUN apt-get -y update -RUN apt-get -qy install google-chrome-stable - -# Install chromedriver -RUN wget -q https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip -RUN unzip chromedriver_linux64.zip && rm chromedriver_linux64.zip -RUN mv chromedriver /usr/bin/chromedriver -RUN chown root:root /usr/bin/chromedriver -RUN chmod +x /usr/bin/chromedriver - -# Install Nim -RUN wget -q https://nim-lang.org/download/nim-2.0.0-linux_x64.tar.xz -RUN ls -al -RUN xz -d nim-2.0.0-linux_x64.tar.xz -RUN tar -xf nim-2.0.0-linux_x64.tar - -# Command to run on container start -# ENTRYPOINT[]"/app/nim-2.0.0-linux_x64/bin/nim"] -# CMD ["--version"] -ENTRYPOINT ["tail", "-f", "/dev/null"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 79bb583..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: '3.1' - -services: - nim_raft_node: - image: nim_raft_node - restart: always - volumes: - - ./raft_node_config.json:/app/raft_node_config.json - -# You get the idea. To run the image N times with possibly different configs