forked from Deuxfleurs/guichet
Add SSL certs to container for SMTP STARTTLS
This commit is contained in:
parent
3dca3a2e33
commit
9bfd7f8d51
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue