Dockerfile and slight robot adjustments

This commit is contained in:
Tomás L
2024-07-25 16:30:55 -04:00
parent 0c3e6c49b7
commit 913af71226
6 changed files with 112 additions and 8 deletions

22
dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM python:3.12
LABEL maintainer="Tomas Letelier"
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
COPY Communication/ ./Communication/
COPY Robot/ ./Robot/
COPY UnifiWebsockets/ ./UnifiWebsockets/
COPY BBoxProcessor.py .
COPY URSentry.py .
COPY dockermain.py .
ENV UNIFI_PASSWORD = ''
CMD [ "python", "./dockermain.py" ]