From acb75662b75f02bd50130371aa3e31940fcdde91 Mon Sep 17 00:00:00 2001 From: deissh Date: Fri, 27 Mar 2020 17:29:23 +0300 Subject: [PATCH] fix: Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90eeec4..5ea2fd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,9 @@ RUN go get -insecure ./... RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix nocgo -o /server . FROM scratch -COPY --from=builder /server ./server +COPY --from=builder /server /avagen # Add fronts COPY Cousine-Bold.ttf Cousine-Bold.ttf EXPOSE 8080 -ENTRYPOINT ["./server -address 127.0.0.1:8080"] +CMD ["/avagen", "-address", "127.0.0.1:8080"]