create tests directory format

This commit is contained in:
m
2026-09-02 09:52:26 +02:00
parent 479c8ab61c
commit 32a61e6a64
94 changed files with 95 additions and 6476 deletions
-25
View File
@@ -1,25 +0,0 @@
FROM golang:1.24-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /bin/server ./cmd/server
FROM alpine:3.21
RUN apk add --no-cache ca-certificates curl libreoffice-core poppler-utils
WORKDIR /app
COPY --from=builder /bin/server .
COPY internal/db/migrations ./internal/db/migrations
RUN mkdir -p /app/uploads /app/uploads/thumbnails /data
EXPOSE 8080
CMD ["./server"]