mirror of
https://github.com/glanceapp/glance.git
synced 2025-08-19 04:15:57 +02:00
14 lines
244 B
Docker
14 lines
244 B
Docker
FROM golang:1.24.4-alpine3.21 AS builder
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN CGO_ENABLED=0 go build .
|
|
|
|
FROM alpine:3.21
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /app/glance .
|
|
|
|
EXPOSE 8080/tcp
|
|
ENTRYPOINT ["/app/glance", "--config", "/app/config/glance.yml"]
|