Add SSL certs to container for SMTP STARTTLS

This commit is contained in:
Alex 2020-02-14 22:38:02 +01:00
parent 3dca3a2e33
commit 9bfd7f8d51
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
FROM alpine:latest as certs
RUN apk --update add ca-certificates
FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ADD static /static
ADD guichet.static /guichet
ADD templates /templates

View File

@ -12,7 +12,7 @@ job "guichet" {
task "server" {
driver = "docker"
config {
image = "lxpz/guichet_amd64:6"
image = "lxpz/guichet_amd64:7"
readonly_rootfs = true
port_map {
web_port = 9991