Start work on docker module

This commit is contained in:
2024-10-24 08:39:31 +02:00
parent ab03e6836b
commit 4bbe636f0e
8 changed files with 532 additions and 30 deletions

View File

@@ -10,4 +10,12 @@ RUN mkdir -p /root/model
CMD ["python3", "-m", "unittest", "discover", "-v", "-p", "*test.py", "-v"]
FROM requirements
RUN apt update
RUN apt install -y \
apt-transport-https ca-certificates \
curl software-properties-common
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
RUN apt update
RUN apt install -y docker-ce
CMD ["python3", "-m", "sia"]