Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@jwilder @ph-One
11 lines (10 sloc) 185 Bytes
FROM golang:alpine3.6 AS binary
ADD . /app
WORKDIR /app
RUN go build -o http
FROM alpine:3.6
WORKDIR /app
ENV PORT 8000
EXPOSE 8000
COPY --from=binary /app/http /app
CMD ["/app/http"]
You can’t perform that action at this time.