mirror of
https://github.com/JuLi0n21/thumbnailservice.git
synced 2026-04-19 16:00:07 +00:00
init
This commit is contained in:
17
server/Dockerfile
Normal file
17
server/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user