add: edge template

This commit is contained in:
Toolf
2024-02-12 18:21:08 +02:00
parent 173a61d117
commit 9a179e09e9
12 changed files with 398 additions and 0 deletions

11
edge/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
# Use the official Python image as the base image
FROM python:3.9-slim
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements.txt file and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire application into the container
COPY . .
# Run the main.py script inside the container when it starts
CMD ["python", "main.py"]