You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
433 B

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
COPY testing/testTemplate.js /app/plugins/webmailer/templates/testTemplate.js
CMD haraka -c /app