kill-the-newsletter/Dockerfile

17 lines
344 B
Docker

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
ENV WEB_PORT=4000
ENV EMAIL_PORT=2525
ENV BASE_URL=http://localhost:4000
ENV SMTP_URL=smtp://localhost
ENV ISSUE_REPORT_EMAIL=kill-the-newsletter@leafac.com
CMD node .