add: agent template

This commit is contained in:
Toolf
2024-02-02 22:51:54 +02:00
commit 1f92b43879
16 changed files with 1749 additions and 0 deletions

12
agent/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
# set base image (host OS)
FROM python:latest
# set the working directory in the container
WORKDIR /usr/agent
# copy the dependencies file to the working directory
COPY requirements.txt .
# install dependencies
RUN pip install -r requirements.txt
# copy the content of the local src directory to the working directory
COPY src/ .
# command to run on container start
CMD ["python", "main.py"]