kill-the-newsletter/Dockerfile

22 lines
392 B
Docker
Raw Normal View History

FROM node:latest
2020-07-18 04:07:46 +02:00
WORKDIR /kill-the-newsletter
2020-07-18 04:07:46 +02:00
COPY package*.json ./
RUN npm ci --production
COPY . .
2020-07-18 04:07:46 +02:00
VOLUME /kill-the-newsletter/static/feeds/
VOLUME /kill-the-newsletter/static/alternate/
2020-07-18 04:07:46 +02:00
ENV WEB_PORT=8000
ENV EMAIL_PORT=2525
ENV BASE_URL=http://localhost:8000
ENV EMAIL_DOMAIN=localhost
ENV ISSUE_REPORT=mailto:kill-the-newsletter@leafac.com
2020-07-18 04:07:46 +02:00
EXPOSE 8000
EXPOSE 2525
2020-07-18 04:07:46 +02:00
CMD npx ts-node .