pepebot/Dockerfile

16 lines
358 B
Docker
Raw Normal View History

2021-05-18 12:11:30 +02:00
# syntax=docker/dockerfile:1
2022-05-11 14:28:02 +02:00
#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
2021-05-18 12:11:30 +02:00
FROM alpine:latest
RUN apk --no-cache add ca-certificates
2022-05-11 14:46:40 +02:00
WORKDIR /build
2022-05-11 14:51:11 +02:00
RUN ls
RUN ls /build
COPY . /root/
2022-05-11 14:46:40 +02:00
WORKDIR /root
2021-05-18 12:11:30 +02:00
CMD ["./app"]