mirror of
https://github.com/glanceapp/glance.git
synced 2024-12-05 05:28:31 +03:00
14 lines
206 B
Docker
14 lines
206 B
Docker
FROM golang:1.22.5-alpine3.20 AS builder
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN CGO_ENABLED=0 go build .
|
|
|
|
FROM alpine:3.20
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /app/glance .
|
|
|
|
EXPOSE 8080/tcp
|
|
ENTRYPOINT ["/app/glance"]
|