list

server

This is the main dovel repository, it has the Go code to run dovel SMTP server.

curl -O https://dovel.email/server.tar.gz tar.gz

bbd8798

Author: brian (git@myr.sh)

Date: Tue Jan 16 00:37:24 2024 -0300

Parent: 0fcc0ae

Updated readme

Diff

Dockerfile

diff --git a/Dockerfile b/Dockerfile
index fdc553f..3382643 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,10 @@
 FROM golang:latest as builder
 
-COPY *.go go.* /
 
-RUN go build .
+RUN go install dovel.email/server@v0.13.0
 
 FROM scratch
 
-COPY --from=builder /server /
+COPY --from=builder /go/bin/server /
 
 CMD ["/server"]

README.md

diff --git a/README.md b/README.md
index 70b3ae5..399c340 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
-<center>
+# dovel development home
+
 ```
 _________                 ______
 ______  /________   _________  /
@@ -9,11 +10,10 @@ _  __  /_  __ \_ | / /  _ \_  /
 ```
 
 [![Go Report Card](https://goreportcard.com/badge/git.derelict.garden/dovel/email)](https://goreportcard.com/report/git.derelict.garden/dovel/email)
+
 [![Go Reference](https://pkg.go.dev/badge/git.derelict.garden/dovel/email.svg)](https://pkg.go.dev/git.derelict.garden/dovel/email)
 </center>
 
-# dovel development home
-
 Welcome! This is the git repository of the dovel.email project, here you'll
 find the go code for the SMTP server.