FROM node:16 RUN git config --global url."https://github.com/".insteadOf ssh://git@github.com: WORKDIR /kill-the-newsletter COPY . . RUN npm ci RUN npm dedupe --production VOLUME /kill-the-newsletter/static/feeds/ VOLUME /kill-the-newsletter/static/alternate/ ENV WEB_PORT=4000 ENV EMAIL_PORT=2525 ENV BASE_URL=https://kill-the-newsletter.retronym.us ENV SMTP_URL=smtp://kill-the-newsletter.retronym.us ENV ISSUE_REPORT_EMAIL=kill-the-newsletter@leafac.com EXPOSE 4000 EXPOSE 2525 CMD node .