aboutsummaryrefslogtreecommitdiffstats
path: root/giphyproxy/Dockerfile
blob: 6088f99f76faa8c7eeb4e06784a41c5311d35135 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM golang:1-alpine AS builder

RUN apk add --no-cache ca-certificates
WORKDIR /build/giphyproxy
COPY . /build/giphyproxy
ENV CGO_ENABLED=0
RUN go build -o /usr/bin/giphyproxy

FROM scratch

COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /usr/bin/giphyproxy /usr/bin/giphyproxy

VOLUME /data
WORKDIR /data
CMD ["/usr/bin/giphyproxy"]
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage