16 lines
358 B
Docker
16 lines
358 B
Docker
# syntax=docker/dockerfile:1
|
|
#FROM golang:1.16.4-alpine AS builder
|
|
#WORKDIR /go/src/quenten.nl/pepebot/
|
|
#
|
|
#COPY . ./
|
|
#RUN go mod download
|
|
#RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app ./discord
|
|
|
|
FROM alpine:latest
|
|
RUN apk --no-cache add ca-certificates
|
|
WORKDIR /build
|
|
RUN ls
|
|
RUN ls /build
|
|
COPY . /root/
|
|
WORKDIR /root
|
|
CMD ["./app"] |