From 52f73745b685c7f410090e7d6014e34aaf10a471 Mon Sep 17 00:00:00 2001 From: Dessa Simpson Date: Tue, 10 Nov 2020 16:51:26 -0700 Subject: [PATCH] Add prod dockerfile --- Dockerfile.prod | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile.prod diff --git a/Dockerfile.prod b/Dockerfile.prod new file mode 100644 index 0000000..d0f3257 --- /dev/null +++ b/Dockerfile.prod @@ -0,0 +1,9 @@ +FROM node:latest + +COPY . /home/app +WORKDIR /home/app +USER node +ENV PORT 3000 +EXPOSE 3000 + +CMD ["ts-node", "./src/app.ts"]