Add prod dockerfile

master
Dessa Simpson 2020-11-10 16:51:26 -07:00
parent a5a8d012c8
commit 52f73745b6
1 changed files with 9 additions and 0 deletions

9
Dockerfile.prod Normal file
View File

@ -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"]