DutchEllie
4c7659bd37
Some checks reported errors
continuous-integration/drone/push Build was killed
14 lines
365 B
Docker
14 lines
365 B
Docker
# syntax=docker/dockerfile:1
|
|
#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 ./
|
|
|
|
FROM alpine:latest
|
|
RUN apk --no-cache add ca-certificates
|
|
WORKDIR /app
|
|
COPY /build/app .
|
|
CMD ["./app"] |