Skip to content

Commit

Permalink
Changed docker base image to alpine (works flawlessly)
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 20, 2021
1 parent 954e6c5 commit 5b5e9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN mkdir /restgomail
COPY restgomail.go smartjson.go /restgomail/
RUN cd /restgomail && CGO_ENABLED=0 GOOS=linux go build -a -o restgomail restgomail.go smartjson.go

FROM debian AS restgomail
FROM alpine AS restgomail
LABEL maintainer="hyper80@gmail.com" Description="RestGoMail - HTTPS REST-Go-MAIL (SMTP) gateway"
COPY --from=restgomailbuildstage /restgomail/restgomail /usr/local/bin
RUN mkdir /restgomail
Expand Down

0 comments on commit 5b5e9ae

Please sign in to comment.