You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
284 B

FROM golang:1.16.2-alpine AS builder
RUN apk update
WORKDIR /app
COPY . /app
RUN GOOS=linux go build -o kartograph cmd/kartograph-map-generator/main.go
FROM alpine:latest
RUN apk update
WORKDIR /app
COPY --from=builder /app/kartograph /app/
EXPOSE 80
ENTRYPOINT ["/app/kartograph"]