From c6180660c2b586900db4d88fe854fc63032a9b02 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 7 Jun 2020 21:20:57 +0300 Subject: [PATCH] Fix normal dockerfile --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2ebffbc..f85039b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,8 @@ FROM golang:1-alpine AS builder RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev@edge_community -WORKDIR /build -COPY go.mod go.sum /build/ -RUN go get - COPY . /build +WORKDIR /build RUN go build -o /usr/bin/mautrix-whatsapp FROM alpine:latest