haraka-plugin-webmailer/Dockerfile

15 lines
429 B
Docker
Raw Normal View History

2019-09-18 07:28:15 +00:00
FROM node:10.6-alpine
RUN mkdir /app
RUN chown node:node /app
WORKDIR /app
run apk add --no-cache python2 g++ make git curl
RUN yarn global add Haraka express
USER node
RUN haraka -i /app
RUN echo webmailer >> /app/config/plugins
RUN echo "listen=[::0]:8080" >> /app/config/http.ini
RUN echo "listen=[::0]:2525" >> /app/config/smtp.ini
2019-09-25 07:45:54 +00:00
COPY testing/testTemplate.js /app/templates
COPY . /app/plugins/webmailer
2019-09-18 07:28:15 +00:00
CMD haraka -c /app