From 0700b927aae2933f0c29130efadc6a2645aeb894 Mon Sep 17 00:00:00 2001 From: Nehal Patel Date: Thu, 7 Oct 2021 00:25:32 -0500 Subject: [PATCH] Use node instead of ts-node as Dockerfile entrypoint --- Dockerfile | 6 +++--- package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ebf17d3..0cb58db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . \ No newline at end of file +CMD node . \ No newline at end of file diff --git a/package.json b/package.json index 2bdc0ea..6c71a1f 100644 --- a/package.json +++ b/package.json @@ -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": {