Use node instead of ts-node as Dockerfile entrypoint
This commit is contained in:
parent
ae4db54ad5
commit
0700b927aa
|
@ -13,11 +13,11 @@ VOLUME /kill-the-newsletter/static/alternate/
|
||||||
|
|
||||||
ENV WEB_PORT=4000
|
ENV WEB_PORT=4000
|
||||||
ENV EMAIL_PORT=2525
|
ENV EMAIL_PORT=2525
|
||||||
ENV BASE_URL=http://localhost:4000
|
ENV BASE_URL=https://kill-the-newsletter.retronym.us
|
||||||
ENV SMTP_URL=smtp://localhost
|
ENV SMTP_URL=smtp://kill-the-newsletter.retronym.us
|
||||||
ENV ISSUE_REPORT_EMAIL=kill-the-newsletter@leafac.com
|
ENV ISSUE_REPORT_EMAIL=kill-the-newsletter@leafac.com
|
||||||
|
|
||||||
EXPOSE 4000
|
EXPOSE 4000
|
||||||
EXPOSE 2525
|
EXPOSE 2525
|
||||||
|
|
||||||
CMD npx ts-node .
|
CMD node .
|
|
@ -35,8 +35,7 @@
|
||||||
"fs-extra": "^9.1.0",
|
"fs-extra": "^9.1.0",
|
||||||
"mailparser": "^3.1.0",
|
"mailparser": "^3.1.0",
|
||||||
"smtp-server": "^3.8.0",
|
"smtp-server": "^3.8.0",
|
||||||
"tagged-template-noop": "^2.1.1",
|
"tagged-template-noop": "^2.1.1"
|
||||||
"ts-node": "^9.1.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/express": "^4.17.11",
|
"@types/express": "^4.17.11",
|
||||||
|
@ -53,6 +52,7 @@
|
||||||
"nodemailer": "^6.4.18",
|
"nodemailer": "^6.4.18",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"ts-jest": "^27.0.5",
|
"ts-jest": "^27.0.5",
|
||||||
|
"ts-node": "^9.1.1",
|
||||||
"typescript": "^4.2.3"
|
"typescript": "^4.2.3"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
|
Loading…
Reference in New Issue