This commit is contained in:
2025-03-24 21:45:12 +01:00
commit d640f5007f
19 changed files with 1325 additions and 0 deletions

17
server/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM golang:1.24.1
WORKDIR /app
RUN apt-get update && apt-get install -y \
imagemagick \
ffmpeg \
poppler-utils && \
rm -rf /var/lib/apt/lists/*
COPY . .
EXPOSE 50051
RUN go mod tidy && go build -o thumbnail-service
CMD ["./thumbnail-service"]