2024-07-25 20:30:55 +00:00
|
|
|
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 .
|
|
|
|
|
2024-07-25 22:17:36 +00:00
|
|
|
ENV UNIFI_PASSWORD=''
|
2024-07-25 20:30:55 +00:00
|
|
|
|
2024-07-29 17:42:59 +00:00
|
|
|
EXPOSE 502
|
|
|
|
|
2024-07-25 20:30:55 +00:00
|
|
|
CMD [ "python", "./dockermain.py" ]
|