jlelse
/
MailyGo
Archived
1
Fork 0

Update Dockerfile
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jan-Lukas Else 2020-10-22 20:21:32 +02:00
parent be9f477458
commit f79df1a8c3
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
FROM golang:1.14-alpine as build FROM golang:1.15-alpine as build
RUN apk add --no-cache gcc musl-dev tzdata RUN apk add --no-cache gcc musl-dev tzdata
ADD . /app ADD . /app
WORKDIR /app WORKDIR /app
RUN go test RUN go test
RUN go build RUN go build
FROM alpine:3.11 FROM alpine:3.12
RUN apk add --no-cache tzdata ca-certificates RUN apk add --no-cache tzdata ca-certificates
COPY --from=build /app/mailygo /bin/ COPY --from=build /app/mailygo /bin/
WORKDIR /app WORKDIR /app