Skip to content

Commit

Permalink
fix: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
deissh committed Mar 27, 2020
1 parent 2d2c926 commit acb7566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit acb7566

Please sign in to comment.