mirror of
https://github.com/glanceapp/glance.git
synced 2024-09-11 13:15:24 +03:00
15 lines
207 B
Docker
15 lines
207 B
Docker
FROM golang:1.22.3-alpine3.19 AS builder
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN CGO_ENABLED=0 go build .
|
|
|
|
|
|
FROM alpine:3.19
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /app/glance .
|
|
|
|
EXPOSE 8080/tcp
|
|
ENTRYPOINT ["/app/glance"]
|