Removed SMTP/IMAP port variables, exposed ports.

This commit is contained in:
michael 2020-05-22 11:26:10 -05:00
parent 4c35ecad32
commit c6bc75bb21
3 changed files with 4 additions and 6 deletions

View file

@ -13,8 +13,6 @@ RUN make build-nogui
FROM alpine:edge
ENV LANG C.UTF-8
ENV SMTP_PORT 25
ENV IMAP_PORT 143
COPY --from=build /usr/src/proton-bridge/Desktop-Bridge /bin/protonmail-bridge
RUN apk add --no-cache \
libsecret \
@ -27,5 +25,7 @@ COPY initproton /bin/
RUN chmod +x /bin/initproton
COPY gpgparams /tmp/
WORKDIR /var/lib/proton
EXPOSE 25/tcp
EXPOSE 143/tcp
ENTRYPOINT ["/bin/entrypoint"]
CMD ["/bin/initproton"]