immich-exporter/Dockerfile
martin 7e3d56c3e0
ci: linter (#14)
* ci: add linter

* chore: update dependencies

* remove package.json

* feat: use enums

* ci: rename workflow
2023-12-23 21:58:57 +01:00

16 lines
No EOL
248 B
Docker

FROM golang:1.21-alpine3.18 AS builder
WORKDIR /app
COPY . .
RUN go build -o /go/bin/immich-exporter ./src
FROM alpine:3.18
COPY --from=builder /go/bin/immich-exporter /go/bin/immich-exporter
WORKDIR /go/bin
CMD ["/go/bin/immich-exporter"]