mandelmapper/Dockerfile

9 lines
215 B
Docker

FROM golang:latest
WORKDIR /go/src/deadbeef.codes/steven/mandelmapper
RUN GOOS=linux GOARCH=arm GOARM=7 go build
FROM resin/raspberrypi3-alpine
COPY --from=0 mandelmapper /usr/bin
EXPOSE 6161:6161
CMD mandelmapper