Initial commit

This commit is contained in:
Linus Dietz
2023-06-18 14:25:44 +02:00
parent 33e7c34662
commit 56383080fb
10 changed files with 473 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# set base image (host OS)
FROM python:3.9-slim
# set the working directory in the container
WORKDIR /volvoAAOS2mqtt
# 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 / .
# command to run on container start
CMD [ "python", "-u", "./main.py" ]