random ai stuff

This commit is contained in:
matst80
2025-11-21 18:12:55 +01:00
commit 60f5783a26
187 changed files with 25197 additions and 0 deletions

34
Dockerfile Normal file
View File

@@ -0,0 +1,34 @@
FROM golang:1.25.4-bookworm
# Install dependencies for telldus-core
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
libftdi-dev \
libconfuse-dev \
wget \
unzip \
&& rm -rf /var/lib/apt/lists/*
COPY ./telldus-core /usr/src/telldus-core
WORKDIR /usr/src/telldus-core
RUN cmake . \
&& make \
&& make install \
&& ldconfig
# Set workdir for the project
WORKDIR /go/src/app
# Copy go mod and download dependencies
COPY go.mod go.sum ./
RUN go mod download
# Copy source code
COPY . .
# Build the application
RUN go build -o main .
# Run the application
CMD ["./main"]