mirror of
https://github.com/JuLi0n21/thumbnailservice.git
synced 2026-04-19 16:00:07 +00:00
17 lines
265 B
Docker
17 lines
265 B
Docker
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"] |