Use node instead of ts-node as Dockerfile entrypoint

This commit is contained in:
Nehal Patel 2021-10-07 00:25:32 -05:00
parent ae4db54ad5
commit 0700b927aa
2 changed files with 5 additions and 5 deletions

View File

@ -13,11 +13,11 @@ VOLUME /kill-the-newsletter/static/alternate/
ENV WEB_PORT=4000
ENV EMAIL_PORT=2525
ENV BASE_URL=http://localhost:4000
ENV SMTP_URL=smtp://localhost
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 npx ts-node .
CMD node .

View File

@ -35,8 +35,7 @@
"fs-extra": "^9.1.0",
"mailparser": "^3.1.0",
"smtp-server": "^3.8.0",
"tagged-template-noop": "^2.1.1",
"ts-node": "^9.1.1"
"tagged-template-noop": "^2.1.1"
},
"devDependencies": {
"@types/express": "^4.17.11",
@ -53,6 +52,7 @@
"nodemailer": "^6.4.18",
"prettier": "^2.2.1",
"ts-jest": "^27.0.5",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"jest": {