mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
20 lines
389 B
Docker
20 lines
389 B
Docker
FROM ubuntu:jammy
|
|
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
|
|
|
|
# These are only exported if running as root
|
|
EXPOSE 25/tcp
|
|
EXPOSE 143/tcp
|
|
|
|
EXPOSE 2025/tcp
|
|
EXPOSE 2143/tcp
|
|
|
|
WORKDIR /protonmail
|
|
|
|
# Copy bash scripts
|
|
COPY gpgparams install.sh entrypoint.sh VERSION /protonmail/
|
|
|
|
# Install dependencies and protonmail bridge
|
|
RUN bash install.sh
|
|
|
|
ENTRYPOINT ["bash", "/protonmail/entrypoint.sh"]
|