2021-09-08 22:19:05 +02:00
|
|
|
# syntax=docker/dockerfile:1
|
2022-05-11 14:27:12 +02:00
|
|
|
#FROM golang:1.17-alpine AS builder
|
|
|
|
#WORKDIR /go/src/quenten.nl/pepeservice
|
|
|
|
#
|
|
|
|
#COPY . ./
|
|
|
|
#WORKDIR /go/src/quenten.nl/pepeservice/pepeservice
|
|
|
|
#RUN go mod download
|
|
|
|
#RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app ./
|
2021-09-08 22:19:05 +02:00
|
|
|
|
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk --no-cache add ca-certificates
|
2022-05-11 14:40:49 +02:00
|
|
|
WORKDIR /drone/src
|
|
|
|
COPY app .
|
2021-09-08 22:19:05 +02:00
|
|
|
CMD ["./app"]
|