Moved source code to .

This commit is contained in:
2025-04-11 10:58:55 +01:00
parent 5ab4638735
commit a5dbf03483
4 changed files with 0 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM golang:alpine AS builder
WORKDIR /app
COPY go.mod go.sum* ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o server ./main.go
FROM alpine:latest
RUN apk update
RUN apk add blender
WORKDIR /root/
COPY --from=builder /app/server .
COPY main.py.tmpl .
EXPOSE 8080
CMD ["./server"]